#39228C#39228C

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

Color values

HEX#39228C
RGBrgb(57, 34, 140)
HSLhsl(253, 61%, 34%)
HSVhsv(253, 76%, 55%)
CMYKcmyk(59.3%, 75.7%, 0%, 45.1%)
CIE-LABlab(23.36, 39.84, -54.92)
CIE-LCHlch(23.36, 67.84, 305.96°)
OKLaboklab(35.69% 0.0407 -0.1582)
OKLCHoklch(35.69% 0.163 284.4)
XYZxyz(6.9915, 3.9069, 25.1916)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39228C #758C22
analogous
#22408C #39228C #6E228C
triadic
#39228C #8C3922 #228C39
tetradic
#39228C #8C2240 #758C22 #228C6E
square
#39228C #8C2240 #758C22 #228C6E
split-complementary
#39228C #8C6E22 #408C22
monochromatic
#110A2A #25165B #39228C #4D2EBD #6F53D5

Accessibility & contrast

On white

11.79
#39228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#39228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39228C
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39228C#FFFFFF#000000##FFFFFF
##39228C1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#0B3F55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39228c;
/* rgb */ color: rgb(57, 34, 140);
/* oklch */ color: oklch(35.7% 0.163 284.4);
Tailwind
colors: {
  custom: {
    50: '#7a60af',
    500: '#39228c',
    950: '#000000',
  },
}
SCSS
$custom: #39228c;
$custom-light: #7a60af;
$custom-dark: #000000;
JSON
{
  "hex": "#39228c",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 253.019,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35693,
    "c": 0.16334,
    "h": 284.4
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#39228C
secondary
#A2B951
accent
#E444C1
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39228C

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

Preview Lab → · Contrast checker → · Palette generator →

#39228C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva