#422F97#422F97

#422F97 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.161 H 284.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#422F97
RGBrgb(66, 47, 151)
HSLhsl(251, 53%, 39%)
HSVhsv(251, 69%, 59%)
CMYKcmyk(56.3%, 68.9%, 0%, 40.8%)
CIE-LABlab(27.91, 37.32, -54.22)
CIE-LCHlch(27.91, 65.82, 304.54°)
OKLaboklab(39.46% 0.0407 -0.1559)
OKLCHoklch(39.46% 0.161 284.6)
XYZxyz(8.8475, 5.4251, 29.8531)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F97 #84972F
analogous
#2F5097 #422F97 #762F97
triadic
#422F97 #97422F #2F9742
tetradic
#422F97 #972F50 #84972F #2F9776
square
#422F97 #972F50 #84972F #2F9776
split-complementary
#422F97 #97762F #50972F
monochromatic
#19123A #2E2068 #422F97 #5840C3 #816ED2

Accessibility & contrast

On white

10.07
#422F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#422F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422F97
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F97#FFFFFF#000000##FFFFFF
##422F971.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#1B4A5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #422f97;
/* rgb */ color: rgb(66, 47, 151);
/* oklch */ color: oklch(39.5% 0.161 284.6);
Tailwind
colors: {
  custom: {
    50: '#7f69b6',
    500: '#422f97',
    950: '#000000',
  },
}
SCSS
$custom: #422f97;
$custom-light: #7f69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#422f97",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 250.962,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.1611,
    "h": 284.6
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#422F97
secondary
#ABB968
accent
#DC4CC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422F97

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

Preview Lab → · Contrast checker → · Palette generator →

#422F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva