#422997#422997

#422997 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.6% C 0.168 H 285.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#422997
RGBrgb(66, 41, 151)
HSLhsl(254, 57%, 38%)
HSVhsv(254, 73%, 59%)
CMYKcmyk(56.3%, 72.8%, 0%, 40.8%)
CIE-LABlab(26.67, 40.75, -56.25)
CIE-LCHlch(26.67, 69.46, 305.92°)
OKLaboklab(38.57% 0.046 -0.1618)
OKLCHoklch(38.57% 0.168 285.9)
XYZxyz(8.6239, 4.9780, 29.7786)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422997 #7E9729
analogous
#294797 #422997 #792997
triadic
#422997 #974229 #299742
tetradic
#422997 #972947 #7E9729 #299779
square
#422997 #972947 #7E9729 #299779
split-complementary
#422997 #977929 #479729
monochromatic
#180F37 #2D1C67 #422997 #5736C7 #7F65D5

Accessibility & contrast

On white

10.52
#422997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#422997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422997
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422997#FFFFFF#000000##FFFFFF
##4229971.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#1C465D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422997;
/* rgb */ color: rgb(66, 41, 151);
/* oklch */ color: oklch(38.6% 0.168 285.9);
Tailwind
colors: {
  custom: {
    50: '#8065b7',
    500: '#422997',
    950: '#000000',
  },
}
SCSS
$custom: #422997;
$custom-light: #8065b7;
$custom-dark: #000000;
JSON
{
  "hex": "#422997",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 253.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38574,
    "c": 0.16824,
    "h": 285.9
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#422997
secondary
#A7BB61
accent
#E147BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422997

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

Preview Lab → · Contrast checker → · Palette generator →

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