#422893#422893

#422893 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.164 H 286.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#422893
RGBrgb(66, 40, 147)
HSLhsl(255, 57%, 37%)
HSVhsv(255, 73%, 58%)
CMYKcmyk(55.1%, 72.8%, 0%, 42.4%)
CIE-LABlab(26.10, 40.08, -54.72)
CIE-LCHlch(26.10, 67.83, 306.22°)
OKLaboklab(38.06% 0.0478 -0.1573)
OKLCHoklch(38.06% 0.164 286.9)
XYZxyz(8.2705, 4.7820, 28.0853)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422893 #799328
analogous
#284493 #422893 #782893
triadic
#422893 #934228 #289342
tetradic
#422893 #932844 #799328 #289378
square
#422893 #932844 #799328 #289378
split-complementary
#422893 #937828 #449328
monochromatic
#170E33 #2C1B63 #422893 #5835C3 #7D61D4

Accessibility & contrast

On white

10.73
#422893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#422893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422893
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422893#FFFFFF#000000##FFFFFF
##4228931.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#20445B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422893;
/* rgb */ color: rgb(66, 40, 147);
/* oklch */ color: oklch(38.1% 0.164 286.9);
Tailwind
colors: {
  custom: {
    50: '#7f64b4',
    500: '#422893',
    950: '#000000',
  },
}
SCSS
$custom: #422893;
$custom-light: #7f64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#422893",
  "rgb": {
    "r": 66,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 254.579,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38057,
    "c": 0.16442,
    "h": 286.9
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#422893
secondary
#A3BA5D
accent
#E047BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422893

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

Preview Lab → · Contrast checker → · Palette generator →

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