#39258C#39258C

#39258C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.1% C 0.160 H 283.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#39258C
RGBrgb(57, 37, 140)
HSLhsl(252, 58%, 35%)
HSVhsv(252, 74%, 55%)
CMYKcmyk(59.3%, 73.6%, 0%, 45.1%)
CIE-LABlab(23.95, 38.18, -53.94)
CIE-LCHlch(23.95, 66.08, 305.29°)
OKLaboklab(36.11% 0.0383 -0.1553)
OKLCHoklch(36.11% 0.16 283.9)
XYZxyz(7.0811, 4.0860, 25.2214)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39258C #788C25
analogous
#25458C #39258C #6C258C
triadic
#39258C #8C3925 #258C39
tetradic
#39258C #8C2545 #788C25 #258C6C
square
#39258C #8C2545 #788C25 #258C6C
split-complementary
#39258C #8C6C25 #458C25
monochromatic
#120B2B #25185C #39258C #4D32BC #7058D3

Accessibility & contrast

On white

11.56
#39258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#39258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39258C
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39258C#FFFFFF#000000##FFFFFF
##39258C1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#0A4156
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39258c;
/* rgb */ color: rgb(57, 37, 140);
/* oklch */ color: oklch(36.1% 0.160 283.9);
Tailwind
colors: {
  custom: {
    50: '#7962af',
    500: '#39258c',
    950: '#000000',
  },
}
SCSS
$custom: #39258c;
$custom-light: #7962af;
$custom-dark: #000000;
JSON
{
  "hex": "#39258c",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 251.65,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36112,
    "c": 0.16001,
    "h": 283.9
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#39258C
secondary
#A4B855
accent
#E146C3
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39258C

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

Preview Lab → · Contrast checker → · Palette generator →

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