#39125D#39125D

#39125D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.125 H 302.9°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#39125D
RGBrgb(57, 18, 93)
HSLhsl(271, 68%, 22%)
HSVhsv(271, 81%, 36%)
CMYKcmyk(38.7%, 80.6%, 0%, 63.5%)
CIE-LABlab(15.97, 34.36, -36.75)
CIE-LCHlch(15.97, 50.31, 313.07°)
OKLaboklab(29.11% 0.0677 -0.1048)
OKLCHoklch(29.11% 0.125 302.9)
XYZxyz(3.8790, 2.0928, 10.5534)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39125D #365D12
analogous
#14125D #39125D #5D125C
triadic
#39125D #5D3912 #125D39
tetradic
#39125D #5D1412 #365D12 #125C5D
square
#39125D #5D1412 #365D12 #125C5D
split-complementary
#39125D #5C5D12 #125D14
monochromatic
#10051A #1A082A #39125D #581C90 #7826C4

Accessibility & contrast

On white

14.80
#39125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#39125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39125D
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39125D#FFFFFF#000000##FFFFFF
##39125D1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#322537
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39125d;
/* rgb */ color: rgb(57, 18, 93);
/* oklch */ color: oklch(29.1% 0.125 302.9);
Tailwind
colors: {
  custom: {
    50: '#74548c',
    500: '#39125d',
    950: '#000000',
  },
}
SCSS
$custom: #39125d;
$custom-light: #74548c;
$custom-dark: #000000;
JSON
{
  "hex": "#39125d",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 271.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29106,
    "c": 0.12475,
    "h": 302.9
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#39125D
secondary
#639535
accent
#EA3D90
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39125D

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

Preview Lab → · Contrast checker → · Palette generator →

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