#422993#422993

#422993 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.163 H 286.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#422993
RGBrgb(66, 41, 147)
HSLhsl(254, 56%, 37%)
HSVhsv(254, 72%, 58%)
CMYKcmyk(55.1%, 72.1%, 0%, 42.4%)
CIE-LABlab(26.30, 39.52, -54.39)
CIE-LCHlch(26.30, 67.24, 306.00°)
OKLaboklab(38.2% 0.0469 -0.1564)
OKLCHoklch(38.2% 0.163 286.7)
XYZxyz(8.3046, 4.8503, 28.0967)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422993 #7A9329
analogous
#294593 #422993 #772993
triadic
#422993 #934229 #299342
tetradic
#422993 #932945 #7A9329 #299377
square
#422993 #932945 #7A9329 #299377
split-complementary
#422993 #937729 #459329
monochromatic
#170E33 #2D1C63 #422993 #5736C3 #7D63D3

Accessibility & contrast

On white

10.66
#422993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#422993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422993
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422993#FFFFFF#000000##FFFFFF
##4229931.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422993;
/* rgb */ color: rgb(66, 41, 147);
/* oklch */ color: oklch(38.2% 0.163 286.7);
Tailwind
colors: {
  custom: {
    50: '#7f65b4',
    500: '#422993',
    950: '#000000',
  },
}
SCSS
$custom: #422993;
$custom-light: #7f65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#422993",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 254.151,
    "s": 56.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38199,
    "c": 0.16326,
    "h": 286.7
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#422993
secondary
#A4B95E
accent
#E048BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422993

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

Preview Lab → · Contrast checker → · Palette generator →

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