#39257C#39257C

#39257C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.139 H 287.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#39257C
RGBrgb(57, 37, 124)
HSLhsl(254, 54%, 32%)
HSVhsv(254, 70%, 49%)
CMYKcmyk(54%, 70.2%, 0%, 51.4%)
CIE-LABlab(22.47, 33.10, -46.31)
CIE-LCHlch(22.47, 56.93, 305.56°)
OKLaboklab(34.6% 0.0414 -0.133)
OKLCHoklch(34.6% 0.139 287.3)
XYZxyz(5.9859, 3.6479, 19.4536)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39257C #687C25
analogous
#253D7C #39257C #65257C
triadic
#39257C #7C3925 #257C39
tetradic
#39257C #7C253D #687C25 #257C65
square
#39257C #7C253D #687C25 #257C65
split-complementary
#39257C #7C6525 #3D7C25
monochromatic
#0E091E #23174D #39257C #4F33AB #6D50CB

Accessibility & contrast

On white

12.14
#39257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#39257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39257C
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39257C#FFFFFF#000000##FFFFFF
##39257C1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#1F3B4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #39257c;
/* rgb */ color: rgb(57, 37, 124);
/* oklch */ color: oklch(34.6% 0.139 287.3);
Tailwind
colors: {
  custom: {
    50: '#7761a3',
    500: '#39257c',
    950: '#000000',
  },
}
SCSS
$custom: #39257c;
$custom-light: #7761a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39257c",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 253.793,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34598,
    "c": 0.13928,
    "h": 287.3
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#39257C
secondary
#98AE4F
accent
#DD4ABC
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #39257C

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

Preview Lab → · Contrast checker → · Palette generator →

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