#39125B#39125B

#39125B is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.122 H 303.8°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#39125B
RGBrgb(57, 18, 91)
HSLhsl(272, 67%, 21%)
HSVhsv(272, 80%, 36%)
CMYKcmyk(37.4%, 80.2%, 0%, 64.3%)
CIE-LABlab(15.79, 33.83, -35.71)
CIE-LCHlch(15.79, 49.19, 313.45°)
OKLaboklab(28.92% 0.0682 -0.1017)
OKLCHoklch(28.92% 0.122 303.8)
XYZxyz(3.7915, 2.0578, 10.0929)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39125B #345B12
analogous
#15125B #39125B #5B1259
triadic
#39125B #5B3912 #125B39
tetradic
#39125B #5B1512 #345B12 #12595B
square
#39125B #5B1512 #345B12 #12595B
split-complementary
#39125B #595B12 #125B15
monochromatic
#10051A #190828 #39125B #591C8E #7926C1

Accessibility & contrast

On white

14.88
#39125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#39125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39125B
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39125B#FFFFFF#000000##FFFFFF
##39125B1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#322435
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39125b;
/* rgb */ color: rgb(57, 18, 91);
/* oklch */ color: oklch(28.9% 0.122 303.8);
Tailwind
colors: {
  custom: {
    50: '#73548a',
    500: '#39125b',
    950: '#000000',
  },
}
SCSS
$custom: #39125b;
$custom-light: #73548a;
$custom-dark: #000000;
JSON
{
  "hex": "#39125b",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 272.055,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28924,
    "c": 0.12245,
    "h": 303.8
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#39125B
secondary
#619335
accent
#EA3E8E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39125B

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

Preview Lab → · Contrast checker → · Palette generator →

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