#39229A#39229A

#39229A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.180 H 281.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#39229A
RGBrgb(57, 34, 154)
HSLhsl(252, 64%, 37%)
HSVhsv(252, 78%, 60%)
CMYKcmyk(63%, 77.9%, 0%, 39.6%)
CIE-LABlab(24.79, 44.15, -61.22)
CIE-LCHlch(24.79, 75.48, 305.79°)
OKLaboklab(37.12% 0.0371 -0.1766)
OKLCHoklch(37.12% 0.18 281.8)
XYZxyz(8.0903, 4.3464, 30.9782)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39229A #839A22
analogous
#22479A #39229A #75229A
triadic
#39229A #9A3922 #229A39
tetradic
#39229A #9A2247 #839A22 #229A75
square
#39229A #9A2247 #839A22 #229A75
split-complementary
#39229A #9A7522 #479A22
monochromatic
#140C36 #261768 #39229A #4C2DCC #745BDB

Accessibility & contrast

On white

11.23
#39229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#39229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39229A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39229A#FFFFFF#000000##FFFFFF
##39229A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39229a;
/* rgb */ color: rgb(57, 34, 154);
/* oklch */ color: oklch(37.1% 0.180 281.8);
Tailwind
colors: {
  custom: {
    50: '#7c61b9',
    500: '#39229a',
    950: '#000000',
  },
}
SCSS
$custom: #39229a;
$custom-light: #7c61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#39229a",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 251.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37122,
    "c": 0.18044,
    "h": 281.8
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#39229A
secondary
#ACBF58
accent
#E741C7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39229A

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

Preview Lab → · Contrast checker → · Palette generator →

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