#39235C#39235C

#39235C is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.6% C 0.098 H 298.4°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#39235C
RGBrgb(57, 35, 92)
HSLhsl(263, 45%, 25%)
HSVhsv(263, 62%, 36%)
CMYKcmyk(38%, 62%, 0%, 63.9%)
CIE-LABlab(19.41, 24.41, -30.52)
CIE-LCHlch(19.41, 39.08, 308.66°)
OKLaboklab(31.56% 0.0468 -0.0865)
OKLCHoklch(31.56% 0.098 298.4)
XYZxyz(4.2197, 2.8446, 10.4499)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39235C #465C23
analogous
#23295C #39235C #56235C
triadic
#39235C #5C3923 #235C39
tetradic
#39235C #5C2329 #465C23 #235C56
square
#39235C #5C2329 #465C23 #235C56
split-complementary
#39235C #5C5623 #295C23
monochromatic
#0E0816 #1E1230 #39235C #543488 #7045B5

Accessibility & contrast

On white

13.38
#39235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39235C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39235C#FFFFFF#000000##FFFFFF
##39235C1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5E
Deuteranopia (green-blind)
#102E5B
Tritanopia (blue-blind)
#312F3B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39235c;
/* rgb */ color: rgb(57, 35, 92);
/* oklch */ color: oklch(31.6% 0.098 298.4);
Tailwind
colors: {
  custom: {
    50: '#725f8a',
    500: '#39235c',
    950: '#000000',
  },
}
SCSS
$custom: #39235c;
$custom-light: #725f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#39235c",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 263.158,
    "s": 44.882,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31558,
    "c": 0.09836,
    "h": 298.4
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#39235C
secondary
#75904B
accent
#D553A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #39235C

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

Preview Lab → · Contrast checker → · Palette generator →

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