#422283#422283

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

Color values

HEX#422283
RGBrgb(66, 34, 131)
HSLhsl(260, 59%, 32%)
HSVhsv(260, 74%, 51%)
CMYKcmyk(49.6%, 74%, 0%, 48.6%)
CIE-LABlab(23.47, 38.58, -49.06)
CIE-LCHlch(23.47, 62.41, 308.18°)
OKLaboklab(35.74% 0.0568 -0.1407)
OKLCHoklch(35.74% 0.152 292)
XYZxyz(6.9144, 3.9408, 21.8647)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422283 #638322
analogous
#223283 #422283 #732283
triadic
#422283 #834222 #228342
tetradic
#422283 #832232 #638322 #228373
square
#422283 #832232 #638322 #228373
split-complementary
#422283 #837322 #328322
monochromatic
#110922 #2A1552 #422283 #5A2FB4 #794ED1

Accessibility & contrast

On white

11.74
#422283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#422283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422283
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422283#FFFFFF#000000##FFFFFF
##4222831.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#2D3B50
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422283;
/* rgb */ color: rgb(66, 34, 131);
/* oklch */ color: oklch(35.7% 0.152 292.0);
Tailwind
colors: {
  custom: {
    50: '#7d60a8',
    500: '#422283',
    950: '#000000',
  },
}
SCSS
$custom: #422283;
$custom-light: #7d60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#422283",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 259.794,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35741,
    "c": 0.15174,
    "h": 292
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#422283
secondary
#92B44C
accent
#E246AE
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #422283

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

Preview Lab → · Contrast checker → · Palette generator →

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