#39236F#39236F

#39236F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.125 H 291.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#39236F
RGBrgb(57, 35, 111)
HSLhsl(257, 52%, 29%)
HSVhsv(257, 68%, 44%)
CMYKcmyk(48.6%, 68.5%, 0%, 56.5%)
CIE-LABlab(20.90, 30.23, -40.55)
CIE-LCHlch(20.90, 50.57, 306.70°)
OKLaboklab(33.12% 0.0455 -0.116)
OKLCHoklch(33.12% 0.125 291.4)
XYZxyz(5.1568, 3.2194, 15.3855)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39236F #596F23
analogous
#23336F #39236F #5F236F
triadic
#39236F #6F3923 #236F39
tetradic
#39236F #6F2333 #596F23 #236F5F
square
#39236F #6F2333 #596F23 #236F5F
split-complementary
#39236F #6F5F23 #336F23
monochromatic
#0C0717 #211440 #39236F #51329E #6C47C5

Accessibility & contrast

On white

12.77
#39236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#39236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39236F
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39236F#FFFFFF#000000##FFFFFF
##39236F1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#283545
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #39236f;
/* rgb */ color: rgb(57, 35, 111);
/* oklch */ color: oklch(33.1% 0.125 291.4);
Tailwind
colors: {
  custom: {
    50: '#755f99',
    500: '#39236f',
    950: '#000000',
  },
}
SCSS
$custom: #39236f;
$custom-light: #755f99;
$custom-dark: #000000;
JSON
{
  "hex": "#39236f",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 257.368,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33116,
    "c": 0.12463,
    "h": 291.4
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#39236F
secondary
#89A24C
accent
#DB4CB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #39236F

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

Preview Lab → · Contrast checker → · Palette generator →

#39236F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva