#39125F#39125F

#39125F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.127 H 301.9°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#39125F
RGBrgb(57, 18, 95)
HSLhsl(270, 68%, 22%)
HSVhsv(270, 81%, 37%)
CMYKcmyk(40%, 81.1%, 0%, 62.7%)
CIE-LABlab(16.15, 34.89, -37.79)
CIE-LCHlch(16.15, 51.44, 312.71°)
OKLaboklab(29.29% 0.0671 -0.1078)
OKLCHoklch(29.29% 0.127 301.9)
XYZxyz(3.9687, 2.1287, 11.0260)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39125F #385F12
analogous
#13125F #39125F #5F125F
triadic
#39125F #5F3912 #125F39
tetradic
#39125F #5F1312 #385F12 #125F5F
square
#39125F #5F1312 #385F12 #125F5F
split-complementary
#39125F #5F5F12 #125F13
monochromatic
#0F051A #1A082C #39125F #581C92 #7725C6

Accessibility & contrast

On white

14.73
#39125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#39125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39125F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39125F#FFFFFF#000000##FFFFFF
##39125F1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#312638
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39125f;
/* rgb */ color: rgb(57, 18, 95);
/* oklch */ color: oklch(29.3% 0.127 301.9);
Tailwind
colors: {
  custom: {
    50: '#74558d',
    500: '#39125f',
    950: '#000000',
  },
}
SCSS
$custom: #39125f;
$custom-light: #74558d;
$custom-dark: #000000;
JSON
{
  "hex": "#39125f",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 270.39,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2929,
    "c": 0.12704,
    "h": 301.9
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#39125F
secondary
#669736
accent
#EB3D93
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #39125F

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

Preview Lab → · Contrast checker → · Palette generator →

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