#422497#422497

#422497 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.174 H 286.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#422497
RGBrgb(66, 36, 151)
HSLhsl(256, 61%, 37%)
HSVhsv(256, 76%, 59%)
CMYKcmyk(56.3%, 76.2%, 0%, 40.8%)
CIE-LABlab(25.73, 43.41, -57.80)
CIE-LCHlch(25.73, 72.29, 306.91°)
OKLaboklab(37.91% 0.0501 -0.1663)
OKLCHoklch(37.91% 0.174 286.8)
XYZxyz(8.4619, 4.6539, 29.7246)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422497 #799724
analogous
#244097 #422497 #7C2497
triadic
#422497 #974224 #249742
tetradic
#422497 #972440 #799724 #24977C
square
#422497 #972440 #799724 #24977C
split-complementary
#422497 #977C24 #409724
monochromatic
#170C34 #2C1866 #422497 #5830C8 #7D5DD8

Accessibility & contrast

On white

10.88
#422497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#422497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422497
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422497#FFFFFF#000000##FFFFFF
##4224971.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#1C445C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422497;
/* rgb */ color: rgb(66, 36, 151);
/* oklch */ color: oklch(37.9% 0.174 286.8);
Tailwind
colors: {
  custom: {
    50: '#8062b7',
    500: '#422497',
    950: '#000000',
  },
}
SCSS
$custom: #422497;
$custom-light: #8062b7;
$custom-dark: #000000;
JSON
{
  "hex": "#422497",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 255.652,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37905,
    "c": 0.17373,
    "h": 286.8
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#422497
secondary
#A3BD5A
accent
#E543BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #422497

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

Preview Lab → · Contrast checker → · Palette generator →

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