#422F94#422F94

#422F94 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.157 H 285.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#422F94
RGBrgb(66, 47, 148)
HSLhsl(251, 52%, 38%)
HSVhsv(251, 68%, 58%)
CMYKcmyk(55.4%, 68.2%, 0%, 42%)
CIE-LABlab(27.65, 36.38, -52.80)
CIE-LCHlch(27.65, 64.12, 304.56°)
OKLaboklab(39.19% 0.0411 -0.1517)
OKLCHoklch(39.19% 0.157 285.2)
XYZxyz(8.6070, 5.3289, 28.5863)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F94 #81942F
analogous
#2F4E94 #422F94 #742F94
triadic
#422F94 #94422F #2F9442
tetradic
#422F94 #942F4E #81942F #2F9474
square
#422F94 #942F4E #81942F #2F9474
split-complementary
#422F94 #94742F #4E942F
monochromatic
#191137 #2D2066 #422F94 #573EC2 #806DD1

Accessibility & contrast

On white

10.17
#422F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#422F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422F94
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F94#FFFFFF#000000##FFFFFF
##422F941.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#1E495D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #422f94;
/* rgb */ color: rgb(66, 47, 148);
/* oklch */ color: oklch(39.2% 0.157 285.2);
Tailwind
colors: {
  custom: {
    50: '#7f69b4',
    500: '#422f94',
    950: '#000000',
  },
}
SCSS
$custom: #422f94;
$custom-light: #7f69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#422f94",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 251.287,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39192,
    "c": 0.15721,
    "h": 285.2
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#422F94
secondary
#A9B867
accent
#DB4DC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422F94

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

Preview Lab → · Contrast checker → · Palette generator →

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