#462989#462989

#462989 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.151 H 291.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#462989
RGBrgb(70, 41, 137)
HSLhsl(258, 54%, 35%)
HSVhsv(258, 70%, 54%)
CMYKcmyk(48.9%, 70.1%, 0%, 46.3%)
CIE-LABlab(25.84, 37.22, -48.93)
CIE-LCHlch(25.84, 61.48, 307.26°)
OKLaboklab(37.7% 0.0548 -0.1402)
OKLCHoklch(37.7% 0.151 291.3)
XYZxyz(7.8328, 4.6938, 24.1554)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462989 #6C8929
analogous
#293C89 #462989 #762989
triadic
#462989 #894629 #298946
tetradic
#462989 #89293C #6C8929 #298976
square
#462989 #89293C #6C8929 #298976
split-complementary
#462989 #897629 #3C8929
monochromatic
#160D2B #2E1B5A #462989 #5E37B8 #805ECF

Accessibility & contrast

On white

10.83
#462989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#462989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462989
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462989#FFFFFF#000000##FFFFFF
##4629891.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462989;
/* rgb */ color: rgb(70, 41, 137);
/* oklch */ color: oklch(37.7% 0.151 291.3);
Tailwind
colors: {
  custom: {
    50: '#8065ac',
    500: '#462989',
    950: '#000000',
  },
}
SCSS
$custom: #462989;
$custom-light: #8065ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462989",
  "rgb": {
    "r": 70,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 258.125,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37698,
    "c": 0.15051,
    "h": 291.3
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#462989
secondary
#99B45A
accent
#DD4AB1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #462989

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

Preview Lab → · Contrast checker → · Palette generator →

#462989 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva