#462A88#462A88

#462A88 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.148 H 291.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#462A88
RGBrgb(70, 42, 136)
HSLhsl(258, 53%, 35%)
HSVhsv(258, 69%, 53%)
CMYKcmyk(48.5%, 69.1%, 0%, 46.7%)
CIE-LABlab(25.97, 36.36, -48.10)
CIE-LCHlch(25.97, 60.30, 307.08°)
OKLaboklab(37.76% 0.0539 -0.1378)
OKLCHoklch(37.76% 0.148 291.4)
XYZxyz(7.7964, 4.7353, 23.7910)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462A88 #6C882A
analogous
#2A3D88 #462A88 #752A88
triadic
#462A88 #88462A #2A8846
tetradic
#462A88 #882A3D #6C882A #2A8875
square
#462A88 #882A3D #6C882A #2A8875
split-complementary
#462A88 #88752A #3D882A
monochromatic
#160D2A #2E1C59 #462A88 #5E38B7 #805FCE

Accessibility & contrast

On white

10.78
#462A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#462A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462A88
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462A88#FFFFFF#000000##FFFFFF
##462A881.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#314155
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462a88;
/* rgb */ color: rgb(70, 42, 136);
/* oklch */ color: oklch(37.8% 0.148 291.4);
Tailwind
colors: {
  custom: {
    50: '#8066ab',
    500: '#462a88',
    950: '#000000',
  },
}
SCSS
$custom: #462a88;
$custom-light: #8066ab;
$custom-dark: #000000;
JSON
{
  "hex": "#462a88",
  "rgb": {
    "r": 70,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 257.872,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3776,
    "c": 0.14794,
    "h": 291.4
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#462A88
secondary
#99B35B
accent
#DC4CB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462A88

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

Preview Lab → · Contrast checker → · Palette generator →

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