#462B88#462B88

#462B88 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.147 H 291.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#462B88
RGBrgb(70, 43, 136)
HSLhsl(257, 52%, 35%)
HSVhsv(257, 68%, 53%)
CMYKcmyk(48.5%, 68.4%, 0%, 46.7%)
CIE-LABlab(26.18, 35.78, -47.76)
CIE-LCHlch(26.18, 59.68, 306.84°)
OKLaboklab(37.91% 0.0528 -0.1368)
OKLCHoklch(37.91% 0.147 291.1)
XYZxyz(7.8323, 4.8071, 23.8030)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462B88 #6D882B
analogous
#2B3F88 #462B88 #742B88
triadic
#462B88 #88462B #2B8846
tetradic
#462B88 #882B3F #6D882B #2B8874
square
#462B88 #882B3F #6D882B #2B8874
split-complementary
#462B88 #88742B #3F882B
monochromatic
#160E2B #2E1C5A #462B88 #5E3AB6 #8061CD

Accessibility & contrast

On white

10.71
#462B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462B88
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462B88#FFFFFF#000000##FFFFFF
##462B881.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003C86
Tritanopia (blue-blind)
#314255
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462b88;
/* rgb */ color: rgb(70, 43, 136);
/* oklch */ color: oklch(37.9% 0.147 291.1);
Tailwind
colors: {
  custom: {
    50: '#8066ab',
    500: '#462b88',
    950: '#000000',
  },
}
SCSS
$custom: #462b88;
$custom-light: #8066ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462b88",
  "rgb": {
    "r": 70,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 257.419,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37912,
    "c": 0.14662,
    "h": 291.1
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#462B88
secondary
#9AB35C
accent
#DB4CB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462B88

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

Preview Lab → · Contrast checker → · Palette generator →

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