#39229C#39229C

#39229C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.183 H 281.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#39229C
RGBrgb(57, 34, 156)
HSLhsl(251, 64%, 37%)
HSVhsv(251, 78%, 61%)
CMYKcmyk(63.5%, 78.2%, 0%, 38.8%)
CIE-LABlab(24.99, 44.76, -62.10)
CIE-LCHlch(24.99, 76.55, 305.78°)
OKLaboklab(37.33% 0.0365 -0.1792)
OKLCHoklch(37.33% 0.183 281.5)
XYZxyz(8.2582, 4.4136, 31.8628)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39229C #859C22
analogous
#22489C #39229C #76229C
triadic
#39229C #9C3922 #229C39
tetradic
#39229C #9C2248 #859C22 #229C76
square
#39229C #9C2248 #859C22 #229C76
split-complementary
#39229C #9C7622 #489C22
monochromatic
#140C38 #27176A #39229C #4B2DCE #755DDC

Accessibility & contrast

On white

11.15
#39229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39229C
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39229C#FFFFFF#000000##FFFFFF
##39229C1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #39229c;
/* rgb */ color: rgb(57, 34, 156);
/* oklch */ color: oklch(37.3% 0.183 281.5);
Tailwind
colors: {
  custom: {
    50: '#7d61ba',
    500: '#39229c',
    950: '#000000',
  },
}
SCSS
$custom: #39229c;
$custom-light: #7d61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#39229c",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 251.311,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37331,
    "c": 0.18285,
    "h": 281.5
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#39229C
secondary
#ADC05A
accent
#E741C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #39229C

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

Preview Lab → · Contrast checker → · Palette generator →

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