#462C85#462C85

#462C85 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.8% C 0.141 H 291.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#462C85
RGBrgb(70, 44, 133)
HSLhsl(258, 50%, 35%)
HSVhsv(258, 67%, 52%)
CMYKcmyk(47.4%, 66.9%, 0%, 47.8%)
CIE-LABlab(26.15, 34.29, -45.94)
CIE-LCHlch(26.15, 57.33, 306.74°)
OKLaboklab(37.81% 0.0521 -0.1314)
OKLCHoklch(37.81% 0.141 291.6)
XYZxyz(7.6589, 4.7967, 22.7081)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462C85 #6B852C
analogous
#2C3F85 #462C85 #732C85
triadic
#462C85 #85462C #2C8546
tetradic
#462C85 #852C3F #6B852C #2C8573
square
#462C85 #852C3F #6B852C #2C8573
split-complementary
#462C85 #85732C #3F852C
monochromatic
#160E29 #2E1D57 #462C85 #5E3BB3 #8061CB

Accessibility & contrast

On white

10.72
#462C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#462C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462C85
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462C85#FFFFFF#000000##FFFFFF
##462C851.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#334154
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462c85;
/* rgb */ color: rgb(70, 44, 133);
/* oklch */ color: oklch(37.8% 0.141 291.6);
Tailwind
colors: {
  custom: {
    50: '#7f67a9',
    500: '#462c85',
    950: '#000000',
  },
}
SCSS
$custom: #462c85;
$custom-light: #7f67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462c85",
  "rgb": {
    "r": 70,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 257.528,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37812,
    "c": 0.14137,
    "h": 291.6
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#462C85
secondary
#98B15C
accent
#DA4EB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462C85

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

Preview Lab → · Contrast checker → · Palette generator →

#462C85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva