#462A8A#462A8A

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

Color values

HEX#462A8A
RGBrgb(70, 42, 138)
HSLhsl(258, 53%, 35%)
HSVhsv(258, 70%, 54%)
CMYKcmyk(49.3%, 69.6%, 0%, 45.9%)
CIE-LABlab(26.14, 36.95, -49.08)
CIE-LCHlch(26.14, 61.43, 306.98°)
OKLaboklab(37.93% 0.0536 -0.1406)
OKLCHoklch(37.93% 0.15 290.8)
XYZxyz(7.9399, 4.7927, 24.5466)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A8A #6E8A2A
analogous
#2A3E8A #462A8A #762A8A
triadic
#462A8A #8A462A #2A8A46
tetradic
#462A8A #8A2A3E #6E8A2A #2A8A76
square
#462A8A #8A2A3E #6E8A2A #2A8A76
split-complementary
#462A8A #8A762A #3E8A2A
monochromatic
#160D2C #2E1C5B #462A8A #5E38B9 #8060CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462A8A#FFFFFF#000000##FFFFFF
##462A8A1.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)
#003F8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#304256
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #462a8a;
/* rgb */ color: rgb(70, 42, 138);
/* oklch */ color: oklch(37.9% 0.150 290.8);
Tailwind
colors: {
  custom: {
    50: '#8066ad',
    500: '#462a8a',
    950: '#000000',
  },
}
SCSS
$custom: #462a8a;
$custom-light: #8066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#462a8a",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 257.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.15049,
    "h": 290.8
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#462A8A
secondary
#9AB45B
accent
#DD4BB2
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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