#422394#422394

#422394 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.171 H 287.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#422394
RGBrgb(66, 35, 148)
HSLhsl(256, 62%, 36%)
HSVhsv(256, 76%, 58%)
CMYKcmyk(55.4%, 76.4%, 0%, 42%)
CIE-LABlab(25.25, 43.04, -56.73)
CIE-LCHlch(25.25, 71.21, 307.19°)
OKLaboklab(37.49% 0.0517 -0.1632)
OKLCHoklch(37.49% 0.171 287.6)
XYZxyz(8.1915, 4.4980, 28.4478)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422394 #759423
analogous
#233C94 #422394 #7A2394
triadic
#422394 #944223 #239442
tetradic
#422394 #94233C #759423 #23947A
square
#422394 #94233C #759423 #23947A
split-complementary
#422394 #947A23 #3C9423
monochromatic
#160C31 #2C1763 #422394 #582FC5 #7C5AD8

Accessibility & contrast

On white

11.05
#422394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#422394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422394
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422394#FFFFFF#000000##FFFFFF
##4223941.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#20425A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #422394;
/* rgb */ color: rgb(66, 35, 148);
/* oklch */ color: oklch(37.5% 0.171 287.6);
Tailwind
colors: {
  custom: {
    50: '#8062b4',
    500: '#422394',
    950: '#000000',
  },
}
SCSS
$custom: #422394;
$custom-light: #8062b4;
$custom-dark: #000000;
JSON
{
  "hex": "#422394",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 256.46,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37485,
    "c": 0.17119,
    "h": 287.6
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#422394
secondary
#A0BC57
accent
#E543B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #422394

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

Preview Lab → · Contrast checker → · Palette generator →

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