#39229E#39229E

#39229E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.185 H 281.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#39229E
RGBrgb(57, 34, 158)
HSLhsl(251, 65%, 38%)
HSVhsv(251, 78%, 62%)
CMYKcmyk(63.9%, 78.5%, 0%, 38%)
CIE-LABlab(25.20, 45.37, -62.98)
CIE-LCHlch(25.20, 77.62, 305.77°)
OKLaboklab(37.54% 0.0359 -0.1817)
OKLCHoklch(37.54% 0.185 281.2)
XYZxyz(8.4290, 4.4819, 32.7620)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39229E #879E22
analogous
#22499E #39229E #77229E
triadic
#39229E #9E3922 #229E39
tetradic
#39229E #9E2249 #879E22 #229E77
square
#39229E #9E2249 #879E22 #229E77
split-complementary
#39229E #9E7722 #499E22
monochromatic
#150C39 #27176C #39229E #4B2DD0 #755EDC

Accessibility & contrast

On white

11.07
#39229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#39229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39229E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39229E#FFFFFF#000000##FFFFFF
##39229E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #39229e;
/* rgb */ color: rgb(57, 34, 158);
/* oklch */ color: oklch(37.5% 0.185 281.2);
Tailwind
colors: {
  custom: {
    50: '#7d61bc',
    500: '#39229e',
    950: '#000000',
  },
}
SCSS
$custom: #39229e;
$custom-light: #7d61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#39229e",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 251.129,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37541,
    "c": 0.18524,
    "h": 281.2
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#39229E
secondary
#AEC15B
accent
#E840C9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39229E

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

Preview Lab → · Contrast checker → · Palette generator →

#39229E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva