#422381#422381

#422381 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.148 H 292.3°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#422381
RGBrgb(66, 35, 129)
HSLhsl(260, 57%, 32%)
HSVhsv(260, 73%, 51%)
CMYKcmyk(48.8%, 72.9%, 0%, 49.4%)
CIE-LABlab(23.49, 37.45, -47.77)
CIE-LCHlch(23.49, 60.70, 308.09°)
OKLaboklab(35.7% 0.0563 -0.1369)
OKLCHoklch(35.7% 0.148 292.3)
XYZxyz(6.8091, 3.9451, 21.1673)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422381 #628123
analogous
#233381 #422381 #712381
triadic
#422381 #814223 #238142
tetradic
#422381 #812333 #628123 #238171
square
#422381 #812333 #628123 #238171
split-complementary
#422381 #817123 #338123
monochromatic
#110921 #291651 #422381 #5B30B1 #794FCF

Accessibility & contrast

On white

11.74
#422381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#422381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422381
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422381#FFFFFF#000000##FFFFFF
##4223811.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#2E3B4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422381;
/* rgb */ color: rgb(66, 35, 129);
/* oklch */ color: oklch(35.7% 0.148 292.3);
Tailwind
colors: {
  custom: {
    50: '#7d61a6',
    500: '#422381',
    950: '#000000',
  },
}
SCSS
$custom: #422381;
$custom-light: #7d61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#422381",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 259.787,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35695,
    "c": 0.14805,
    "h": 292.3
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#422381
secondary
#91B34D
accent
#E147AE
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #422381

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

Preview Lab → · Contrast checker → · Palette generator →

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