#422285#422285

#422285 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.154 H 291.4°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#422285
RGBrgb(66, 34, 133)
HSLhsl(259, 59%, 33%)
HSVhsv(259, 74%, 52%)
CMYKcmyk(50.4%, 74.4%, 0%, 47.8%)
CIE-LABlab(23.66, 39.16, -50.02)
CIE-LCHlch(23.66, 63.52, 308.06°)
OKLaboklab(35.93% 0.0564 -0.1435)
OKLCHoklch(35.93% 0.154 291.4)
XYZxyz(7.0512, 3.9955, 22.5854)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422285 #658522
analogous
#223385 #422285 #732285
triadic
#422285 #854222 #228542
tetradic
#422285 #852233 #658522 #228573
square
#422285 #852233 #658522 #228573
split-complementary
#422285 #857322 #338522
monochromatic
#120924 #2A1654 #422285 #5A2EB6 #7A4FD2

Accessibility & contrast

On white

11.67
#422285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#422285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422285
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422285#FFFFFF#000000##FFFFFF
##4222851.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#2C3C51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422285;
/* rgb */ color: rgb(66, 34, 133);
/* oklch */ color: oklch(35.9% 0.154 291.4);
Tailwind
colors: {
  custom: {
    50: '#7e60a9',
    500: '#422285',
    950: '#000000',
  },
}
SCSS
$custom: #422285;
$custom-light: #7e60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#422285",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 259.394,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35926,
    "c": 0.15418,
    "h": 291.4
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#422285
secondary
#94B64D
accent
#E245B0
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422285

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

Preview Lab → · Contrast checker → · Palette generator →

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