#39236A#39236A

#39236A is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.7% C 0.118 H 293.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#39236A
RGBrgb(57, 35, 106)
HSLhsl(259, 50%, 28%)
HSVhsv(259, 67%, 42%)
CMYKcmyk(46.2%, 67%, 0%, 58.4%)
CIE-LABlab(20.49, 28.67, -37.98)
CIE-LCHlch(20.49, 47.59, 307.06°)
OKLaboklab(32.69% 0.046 -0.1085)
OKLCHoklch(32.69% 0.118 293)
XYZxyz(4.8892, 3.1124, 13.9760)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39236A #546A23
analogous
#23306A #39236A #5D236A
triadic
#39236A #6A3923 #236A39
tetradic
#39236A #6A2330 #546A23 #236A5D
square
#39236A #6A2330 #546A23 #236A5D
split-complementary
#39236A #6A5D23 #306A23
monochromatic
#0C0817 #20143C #39236A #523298 #6C46C2

Accessibility & contrast

On white

12.94
#39236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#39236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39236A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39236A#FFFFFF#000000##FFFFFF
##39236A1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#2B3343
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39236a;
/* rgb */ color: rgb(57, 35, 106);
/* oklch */ color: oklch(32.7% 0.118 293.0);
Tailwind
colors: {
  custom: {
    50: '#745f95',
    500: '#39236a',
    950: '#000000',
  },
}
SCSS
$custom: #39236a;
$custom-light: #745f95;
$custom-dark: #000000;
JSON
{
  "hex": "#39236a",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 258.592,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32687,
    "c": 0.11784,
    "h": 293
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#39236A
secondary
#849D4B
accent
#DA4EAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #39236A

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

Preview Lab → · Contrast checker → · Palette generator →

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