#462790#462790

#462790 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.162 H 290.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#462790
RGBrgb(70, 39, 144)
HSLhsl(258, 57%, 36%)
HSVhsv(258, 73%, 56%)
CMYKcmyk(51.4%, 72.9%, 0%, 43.5%)
CIE-LABlab(26.06, 40.40, -52.92)
CIE-LCHlch(26.06, 66.58, 307.35°)
OKLaboklab(38.04% 0.0554 -0.1519)
OKLCHoklch(38.04% 0.162 290)
XYZxyz(8.2839, 4.7664, 26.8637)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462790 #719027
analogous
#273C90 #462790 #7A2790
triadic
#462790 #904627 #279046
tetradic
#462790 #90273C #719027 #27907A
square
#462790 #90273C #719027 #27907A
split-complementary
#462790 #907A27 #3C9027
monochromatic
#170D30 #2F1A60 #462790 #5D34C0 #815ED3

Accessibility & contrast

On white

10.75
#462790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#462790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462790
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462790#FFFFFF#000000##FFFFFF
##4627901.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#2C4259
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462790;
/* rgb */ color: rgb(70, 39, 144);
/* oklch */ color: oklch(38.0% 0.162 290.0);
Tailwind
colors: {
  custom: {
    50: '#8164b1',
    500: '#462790',
    950: '#000000',
  },
}
SCSS
$custom: #462790;
$custom-light: #8164b1;
$custom-dark: #000000;
JSON
{
  "hex": "#462790",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 257.714,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38041,
    "c": 0.16171,
    "h": 290
  },
  "luminance": 0.04767
}

Semantic roles & 50–950 ramp

primary
#462790
secondary
#9DB95A
accent
#E147B3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462790

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#462790 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva