#39125E#39125E

#39125E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.126 H 302.4°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#39125E
RGBrgb(57, 18, 94)
HSLhsl(271, 68%, 22%)
HSVhsv(271, 81%, 37%)
CMYKcmyk(39.4%, 80.9%, 0%, 63.1%)
CIE-LABlab(16.06, 34.62, -37.28)
CIE-LCHlch(16.06, 50.88, 312.89°)
OKLaboklab(29.2% 0.0674 -0.1063)
OKLCHoklch(29.2% 0.126 302.4)
XYZxyz(3.9235, 2.1106, 10.7882)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39125E #375E12
analogous
#13125E #39125E #5E125D
triadic
#39125E #5E3912 #125E39
tetradic
#39125E #5E1312 #375E12 #125D5E
square
#39125E #5E1312 #375E12 #125D5E
split-complementary
#39125E #5D5E12 #125E13
monochromatic
#10051A #1A082B #39125E #581C91 #7726C5

Accessibility & contrast

On white

14.77
#39125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39125E
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39125E#FFFFFF#000000##FFFFFF
##39125E1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#312637
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #39125e;
/* rgb */ color: rgb(57, 18, 94);
/* oklch */ color: oklch(29.2% 0.126 302.4);
Tailwind
colors: {
  custom: {
    50: '#74558c',
    500: '#39125e',
    950: '#000000',
  },
}
SCSS
$custom: #39125e;
$custom-light: #74558c;
$custom-dark: #000000;
JSON
{
  "hex": "#39125e",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 270.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29198,
    "c": 0.1259,
    "h": 302.4
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#39125E
secondary
#659635
accent
#EB3D92
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #39125E

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

Preview Lab → · Contrast checker → · Palette generator →

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