#422387#422387

#422387 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.155 H 290.7°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#422387
RGBrgb(66, 35, 135)
HSLhsl(259, 59%, 33%)
HSVhsv(259, 74%, 53%)
CMYKcmyk(51.1%, 74.1%, 0%, 47.1%)
CIE-LABlab(24.03, 39.21, -50.66)
CIE-LCHlch(24.03, 64.06, 307.74°)
OKLaboklab(36.25% 0.055 -0.1454)
OKLCHoklch(36.25% 0.155 290.7)
XYZxyz(7.2197, 4.1093, 23.3297)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422387 #688723
analogous
#233687 #422387 #742387
triadic
#422387 #874223 #238742
tetradic
#422387 #872336 #688723 #238774
square
#422387 #872336 #688723 #238774
split-complementary
#422387 #877423 #368723
monochromatic
#120A26 #2A1656 #422387 #5A30B8 #7A52D2

Accessibility & contrast

On white

11.53
#422387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#422387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422387
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422387#FFFFFF#000000##FFFFFF
##4223871.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#2B3D53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422387;
/* rgb */ color: rgb(66, 35, 135);
/* oklch */ color: oklch(36.2% 0.155 290.7);
Tailwind
colors: {
  custom: {
    50: '#7e61ab',
    500: '#422387',
    950: '#000000',
  },
}
SCSS
$custom: #422387;
$custom-light: #7e61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#422387",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 258.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36246,
    "c": 0.15545,
    "h": 290.7
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#422387
secondary
#96B650
accent
#E246B2
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422387

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

Preview Lab → · Contrast checker → · Palette generator →

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