#422281#422281

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

Color values

HEX#422281
RGBrgb(66, 34, 129)
HSLhsl(260, 58%, 32%)
HSVhsv(260, 74%, 51%)
CMYKcmyk(48.8%, 73.6%, 0%, 49.4%)
CIE-LABlab(23.29, 37.99, -48.09)
CIE-LCHlch(23.29, 61.29, 308.31°)
OKLaboklab(35.56% 0.0573 -0.1379)
OKLCHoklch(35.56% 0.149 292.6)
XYZxyz(6.7801, 3.8871, 21.1577)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422281 #618122
analogous
#223181 #422281 #722281
triadic
#422281 #814222 #228142
tetradic
#422281 #812231 #618122 #228172
square
#422281 #812231 #618122 #228172
split-complementary
#422281 #817222 #318122
monochromatic
#100820 #291551 #422281 #5B2FB1 #794DD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422281#FFFFFF#000000##FFFFFF
##4222811.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)
#003984
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#2F3B4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422281;
/* rgb */ color: rgb(66, 34, 129);
/* oklch */ color: oklch(35.6% 0.149 292.6);
Tailwind
colors: {
  custom: {
    50: '#7d60a6',
    500: '#422281',
    950: '#000000',
  },
}
SCSS
$custom: #422281;
$custom-light: #7d60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#422281",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 129
  },
  "hsl": {
    "h": 260.211,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35557,
    "c": 0.14928,
    "h": 292.6
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#422281
secondary
#90B34B
accent
#E146AD
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #422281

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

Preview Lab → · Contrast checker → · Palette generator →

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