#422183#422183

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

Color values

HEX#422183
RGBrgb(66, 33, 131)
HSLhsl(260, 60%, 32%)
HSVhsv(260, 75%, 51%)
CMYKcmyk(49.6%, 74.8%, 0%, 48.6%)
CIE-LABlab(23.29, 39.11, -49.37)
CIE-LCHlch(23.29, 62.98, 308.38°)
OKLaboklab(35.61% 0.0578 -0.1416)
OKLCHoklch(35.61% 0.153 292.2)
XYZxyz(6.8862, 3.8844, 21.8553)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422183 #628321
analogous
#213183 #422183 #732183
triadic
#422183 #834221 #218342
tetradic
#422183 #832131 #628321 #218373
square
#422183 #832131 #628321 #218373
split-complementary
#422183 #837321 #318321
monochromatic
#110821 #291552 #422183 #5B2DB4 #794CD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422183#FFFFFF#000000##FFFFFF
##4221831.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)
#003986
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#2D3B50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #422183;
/* rgb */ color: rgb(66, 33, 131);
/* oklch */ color: oklch(35.6% 0.153 292.2);
Tailwind
colors: {
  custom: {
    50: '#7d60a8',
    500: '#422183',
    950: '#000000',
  },
}
SCSS
$custom: #422183;
$custom-light: #7d60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#422183",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 260.204,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35607,
    "c": 0.15293,
    "h": 292.2
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#422183
secondary
#91B54B
accent
#E345AE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422183

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

Preview Lab → · Contrast checker → · Palette generator →

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