#422682#422682

#422682 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.2% C 0.145 H 291.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#422682
RGBrgb(66, 38, 130)
HSLhsl(258, 55%, 33%)
HSVhsv(258, 71%, 51%)
CMYKcmyk(49.2%, 70.8%, 0%, 49%)
CIE-LABlab(24.18, 36.07, -47.28)
CIE-LCHlch(24.18, 59.47, 307.34°)
OKLaboklab(36.22% 0.053 -0.1355)
OKLCHoklch(36.22% 0.145 291.4)
XYZxyz(6.9680, 4.1559, 21.5498)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422682 #668226
analogous
#263882 #422682 #702682
triadic
#422682 #824226 #268242
tetradic
#422682 #822638 #668226 #268270
square
#422682 #822638 #668226 #268270
split-complementary
#422682 #827026 #388226
monochromatic
#120A23 #2A1853 #422682 #5A34B1 #7A55CD

Accessibility & contrast

On white

11.47
#422682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#422682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422682
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422682#FFFFFF#000000##FFFFFF
##4226821.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#2E3D51
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422682;
/* rgb */ color: rgb(66, 38, 130);
/* oklch */ color: oklch(36.2% 0.145 291.4);
Tailwind
colors: {
  custom: {
    50: '#7d62a7',
    500: '#422682',
    950: '#000000',
  },
}
SCSS
$custom: #422682;
$custom-light: #7d62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#422682",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 258.261,
    "s": 54.762,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36216,
    "c": 0.14549,
    "h": 291.4
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#422682
secondary
#95B252
accent
#DE4AB1
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #422682

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

Preview Lab → · Contrast checker → · Palette generator →

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