#39125A#39125A

#39125A is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.121 H 304.3°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#39125A
RGBrgb(57, 18, 90)
HSLhsl(273, 67%, 21%)
HSVhsv(273, 80%, 35%)
CMYKcmyk(36.7%, 80%, 0%, 64.7%)
CIE-LABlab(15.70, 33.56, -35.18)
CIE-LCHlch(15.70, 48.62, 313.65°)
OKLaboklab(28.83% 0.0684 -0.1002)
OKLCHoklch(28.83% 0.121 304.3)
XYZxyz(3.7487, 2.0407, 9.8673)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39125A #335A12
analogous
#15125A #39125A #5A1257
triadic
#39125A #5A3912 #125A39
tetradic
#39125A #5A1512 #335A12 #12575A
square
#39125A #5A1512 #335A12 #12575A
split-complementary
#39125A #575A12 #125A15
monochromatic
#10051A #190827 #39125A #591C8D #7A26C0

Accessibility & contrast

On white

14.91
#39125A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39125A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39125A#FFFFFF#000000##FFFFFF
##39125A1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#332435
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #39125a;
/* rgb */ color: rgb(57, 18, 90);
/* oklch */ color: oklch(28.8% 0.121 304.3);
Tailwind
colors: {
  custom: {
    50: '#735489',
    500: '#39125a',
    950: '#000000',
  },
}
SCSS
$custom: #39125a;
$custom-light: #735489;
$custom-dark: #000000;
JSON
{
  "hex": "#39125a",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 90
  },
  "hsl": {
    "h": 272.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28834,
    "c": 0.1213,
    "h": 304.3
  },
  "luminance": 0.02041
}

Semantic roles & 50–950 ramp

primary
#39125A
secondary
#609335
accent
#EA3E8D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #39125A

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

Preview Lab → · Contrast checker → · Palette generator →

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