#39297D#39297D

#39297D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.135 H 285.9°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#39297D
RGBrgb(57, 41, 125)
HSLhsl(251, 51%, 33%)
HSVhsv(251, 67%, 49%)
CMYKcmyk(54.4%, 67.2%, 0%, 51%)
CIE-LABlab(23.46, 30.98, -45.34)
CIE-LCHlch(23.46, 54.91, 304.35°)
OKLaboklab(35.34% 0.0372 -0.1301)
OKLCHoklch(35.34% 0.135 285.9)
XYZxyz(6.1808, 3.9361, 19.8321)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39297D #6D7D29
analogous
#29437D #39297D #63297D
triadic
#39297D #7D3929 #297D39
tetradic
#39297D #7D2943 #6D7D29 #297D63
square
#39297D #7D2943 #6D7D29 #297D63
split-complementary
#39297D #7D6329 #437D29
monochromatic
#0F0B21 #241A4F #39297D #4E38AB #6D58C8

Accessibility & contrast

On white

11.75
#39297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#39297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39297D
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39297D#FFFFFF#000000##FFFFFF
##39297D1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#1E3E4F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39297d;
/* rgb */ color: rgb(57, 41, 125);
/* oklch */ color: oklch(35.3% 0.135 285.9);
Tailwind
colors: {
  custom: {
    50: '#7664a3',
    500: '#39297d',
    950: '#000000',
  },
}
SCSS
$custom: #39297d;
$custom-light: #7664a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39297d",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 251.429,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35337,
    "c": 0.13531,
    "h": 285.9
  },
  "luminance": 0.03936
}

Semantic roles & 50–950 ramp

primary
#39297D
secondary
#9DAE54
accent
#DA4EBF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #39297D

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

Preview Lab → · Contrast checker → · Palette generator →

#39297D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva