#422F83#422F83

#422F83 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.135 H 288.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#422F83
RGBrgb(66, 47, 131)
HSLhsl(254, 47%, 35%)
HSVhsv(254, 64%, 51%)
CMYKcmyk(49.6%, 64.1%, 0%, 48.6%)
CIE-LABlab(26.24, 31.02, -44.55)
CIE-LCHlch(26.24, 54.28, 304.85°)
OKLaboklab(37.73% 0.0431 -0.1275)
OKLCHoklch(37.73% 0.135 288.7)
XYZxyz(7.3588, 4.8297, 22.0128)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422F83 #70832F
analogous
#2F4683 #422F83 #6C2F83
triadic
#422F83 #83422F #2F8342
tetradic
#422F83 #832F46 #70832F #2F836C
square
#422F83 #832F46 #70832F #2F836C
split-complementary
#422F83 #836C2F #46832F
monochromatic
#150F29 #2B1F56 #422F83 #593FB0 #7B65C8

Accessibility & contrast

On white

10.68
#422F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#422F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422F83
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422F83#FFFFFF#000000##FFFFFF
##422F831.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#2C4354
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422f83;
/* rgb */ color: rgb(66, 47, 131);
/* oklch */ color: oklch(37.7% 0.135 288.7);
Tailwind
colors: {
  custom: {
    50: '#7c68a8',
    500: '#422f83',
    950: '#000000',
  },
}
SCSS
$custom: #422f83;
$custom-light: #7c68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#422f83",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 253.571,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37732,
    "c": 0.13454,
    "h": 288.7
  },
  "luminance": 0.0483
}

Semantic roles & 50–950 ramp

primary
#422F83
secondary
#9DAF5F
accent
#D751B9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422F83

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

Preview Lab → · Contrast checker → · Palette generator →

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