#39235B#39235B

#39235B is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.097 H 298.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#39235B
RGBrgb(57, 35, 91)
HSLhsl(264, 44%, 25%)
HSVhsv(264, 62%, 36%)
CMYKcmyk(37.4%, 61.5%, 0%, 64.3%)
CIE-LABlab(19.34, 24.12, -29.97)
CIE-LCHlch(19.34, 38.47, 308.82°)
OKLaboklab(31.48% 0.0468 -0.0849)
OKLCHoklch(31.48% 0.097 298.8)
XYZxyz(4.1762, 2.8272, 10.2212)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39235B #455B23
analogous
#23295B #39235B #55235B
triadic
#39235B #5B3923 #235B39
tetradic
#39235B #5B2329 #455B23 #235B55
square
#39235B #5B2329 #455B23 #235B55
split-complementary
#39235B #5B5523 #295B23
monochromatic
#0E0916 #1D122F #39235B #553487 #7045B3

Accessibility & contrast

On white

13.42
#39235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#39235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39235B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39235B#FFFFFF#000000##FFFFFF
##39235B1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5D
Deuteranopia (green-blind)
#112E5A
Tritanopia (blue-blind)
#322F3B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39235b;
/* rgb */ color: rgb(57, 35, 91);
/* oklch */ color: oklch(31.5% 0.097 298.8);
Tailwind
colors: {
  custom: {
    50: '#725f8a',
    500: '#39235b',
    950: '#000000',
  },
}
SCSS
$custom: #39235b;
$custom-light: #725f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#39235b",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 263.571,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31482,
    "c": 0.09695,
    "h": 298.8
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#39235B
secondary
#748F4B
accent
#D454A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #39235B

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

Preview Lab → · Contrast checker → · Palette generator →

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