#39229B#39229B

#39229B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.182 H 281.7°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#39229B
RGBrgb(57, 34, 155)
HSLhsl(251, 64%, 37%)
HSVhsv(251, 78%, 61%)
CMYKcmyk(63.2%, 78.1%, 0%, 39.2%)
CIE-LABlab(24.89, 44.45, -61.66)
CIE-LCHlch(24.89, 76.01, 305.79°)
OKLaboklab(37.23% 0.0368 -0.1779)
OKLCHoklch(37.23% 0.182 281.7)
XYZxyz(8.1739, 4.3799, 31.4187)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39229B #849B22
analogous
#22489B #39229B #76229B
triadic
#39229B #9B3922 #229B39
tetradic
#39229B #9B2248 #849B22 #229B76
square
#39229B #9B2248 #849B22 #229B76
split-complementary
#39229B #9B7622 #489B22
monochromatic
#140C37 #271769 #39229B #4B2DCD #745CDB

Accessibility & contrast

On white

11.19
#39229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#39229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39229B
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39229B#FFFFFF#000000##FFFFFF
##39229B1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39229b;
/* rgb */ color: rgb(57, 34, 155);
/* oklch */ color: oklch(37.2% 0.182 281.7);
Tailwind
colors: {
  custom: {
    50: '#7d61ba',
    500: '#39229b',
    950: '#000000',
  },
}
SCSS
$custom: #39229b;
$custom-light: #7d61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#39229b",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 251.405,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37227,
    "c": 0.18165,
    "h": 281.7
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39229B

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

Preview Lab → · Contrast checker → · Palette generator →

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