#39125C#39125C

#39125C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.124 H 303.3°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#39125C
RGBrgb(57, 18, 92)
HSLhsl(272, 67%, 22%)
HSVhsv(272, 80%, 36%)
CMYKcmyk(38%, 80.4%, 0%, 63.9%)
CIE-LABlab(15.88, 34.09, -36.23)
CIE-LCHlch(15.88, 49.75, 313.26°)
OKLaboklab(29.02% 0.0679 -0.1033)
OKLCHoklch(29.02% 0.124 303.3)
XYZxyz(3.8350, 2.0752, 10.3217)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39125C #355C12
analogous
#14125C #39125C #5C125A
triadic
#39125C #5C3912 #125C39
tetradic
#39125C #5C1412 #355C12 #125A5C
square
#39125C #5C1412 #355C12 #125A5C
split-complementary
#39125C #5A5C12 #125C14
monochromatic
#10051A #190829 #39125C #591C8F #7826C2

Accessibility & contrast

On white

14.84
#39125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39125C
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39125C#FFFFFF#000000##FFFFFF
##39125C1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#322536
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39125c;
/* rgb */ color: rgb(57, 18, 92);
/* oklch */ color: oklch(29.0% 0.124 303.3);
Tailwind
colors: {
  custom: {
    50: '#73548b',
    500: '#39125c',
    950: '#000000',
  },
}
SCSS
$custom: #39125c;
$custom-light: #73548b;
$custom-dark: #000000;
JSON
{
  "hex": "#39125c",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 271.622,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29015,
    "c": 0.1236,
    "h": 303.3
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#39125C
secondary
#629435
accent
#EA3E8F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39125C

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

Preview Lab → · Contrast checker → · Palette generator →

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