#462B85#462B85

#462B85 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.143 H 291.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#462B85
RGBrgb(70, 43, 133)
HSLhsl(258, 51%, 35%)
HSVhsv(258, 68%, 52%)
CMYKcmyk(47.4%, 67.7%, 0%, 47.8%)
CIE-LABlab(25.93, 34.88, -46.29)
CIE-LCHlch(25.93, 57.96, 307.00°)
OKLaboklab(37.66% 0.0532 -0.1325)
OKLCHoklch(37.66% 0.143 291.9)
XYZxyz(7.6221, 4.7230, 22.6958)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B85 #6A852B
analogous
#2B3D85 #462B85 #732B85
triadic
#462B85 #85462B #2B8546
tetradic
#462B85 #852B3D #6A852B #2B8573
square
#462B85 #852B3D #6A852B #2B8573
split-complementary
#462B85 #85732B #3D852B
monochromatic
#150D29 #2E1C57 #462B85 #5E3AB3 #805FCB

Accessibility & contrast

On white

10.80
#462B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#462B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462B85
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B85#FFFFFF#000000##FFFFFF
##462B851.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462b85;
/* rgb */ color: rgb(70, 43, 133);
/* oklch */ color: oklch(37.7% 0.143 291.9);
Tailwind
colors: {
  custom: {
    50: '#7f66a9',
    500: '#462b85',
    950: '#000000',
  },
}
SCSS
$custom: #462b85;
$custom-light: #7f66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#462b85",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 258,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37656,
    "c": 0.14274,
    "h": 291.9
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#462B85
secondary
#97B15B
accent
#DB4DB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462B85

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

Preview Lab → · Contrast checker → · Palette generator →

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