#422085#422085

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

Color values

HEX#422085
RGBrgb(66, 32, 133)
HSLhsl(260, 61%, 32%)
HSVhsv(260, 76%, 52%)
CMYKcmyk(50.4%, 75.9%, 0%, 47.8%)
CIE-LABlab(23.29, 40.20, -50.62)
CIE-LCHlch(23.29, 64.65, 308.46°)
OKLaboklab(35.66% 0.0582 -0.1453)
OKLCHoklch(35.66% 0.157 291.8)
XYZxyz(6.9957, 3.8845, 22.5669)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422085 #638520
analogous
#203185 #422085 #752085
triadic
#422085 #854220 #208542
tetradic
#422085 #852031 #638520 #208575
square
#422085 #852031 #638520 #208575
split-complementary
#422085 #857520 #318520
monochromatic
#110822 #2A1454 #422085 #5A2CB6 #794CD4

Accessibility & contrast

On white

11.82
#422085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#422085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422085
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422085#FFFFFF#000000##FFFFFF
##4220851.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#2C3B51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422085;
/* rgb */ color: rgb(66, 32, 133);
/* oklch */ color: oklch(35.7% 0.157 291.8);
Tailwind
colors: {
  custom: {
    50: '#7e5fa9',
    500: '#422085',
    950: '#000000',
  },
}
SCSS
$custom: #422085;
$custom-light: #7e5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#422085",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 260.198,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35664,
    "c": 0.1565,
    "h": 291.8
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#422085
secondary
#92B74A
accent
#E443AE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #422085

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

Preview Lab → · Contrast checker → · Palette generator →

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