#462785#462785

#462785 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.148 H 292.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#462785
RGBrgb(70, 39, 133)
HSLhsl(260, 55%, 34%)
HSVhsv(260, 71%, 52%)
CMYKcmyk(47.4%, 70.7%, 0%, 47.8%)
CIE-LABlab(25.10, 37.17, -47.65)
CIE-LCHlch(25.10, 60.43, 307.96°)
OKLaboklab(37.06% 0.0575 -0.1364)
OKLCHoklch(37.06% 0.148 292.9)
XYZxyz(7.4838, 4.4463, 22.6497)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462785 #668527
analogous
#273785 #462785 #752785
triadic
#462785 #854627 #278546
tetradic
#462785 #852737 #668527 #278575
square
#462785 #852737 #668527 #278575
split-complementary
#462785 #857527 #378527
monochromatic
#140B26 #2D1956 #462785 #5F35B4 #7F58CE

Accessibility & contrast

On white

11.11
#462785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#462785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462785
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462785#FFFFFF#000000##FFFFFF
##4627851.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#333E53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #462785;
/* rgb */ color: rgb(70, 39, 133);
/* oklch */ color: oklch(37.1% 0.148 292.9);
Tailwind
colors: {
  custom: {
    50: '#8064a9',
    500: '#462785',
    950: '#000000',
  },
}
SCSS
$custom: #462785;
$custom-light: #8064a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462785",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 259.787,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37056,
    "c": 0.14807,
    "h": 292.9
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#462785
secondary
#94B355
accent
#DE4AAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #462785

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

Preview Lab → · Contrast checker → · Palette generator →

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