#39297C#39297C

#39297C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.134 H 286.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#39297C
RGBrgb(57, 41, 124)
HSLhsl(252, 50%, 32%)
HSVhsv(252, 67%, 49%)
CMYKcmyk(54%, 66.9%, 0%, 51.4%)
CIE-LABlab(23.37, 30.66, -44.84)
CIE-LCHlch(23.37, 54.32, 304.36°)
OKLaboklab(35.25% 0.0373 -0.1287)
OKLCHoklch(35.25% 0.134 286.2)
XYZxyz(6.1173, 3.9107, 19.4974)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39297C #6C7C29
analogous
#29437C #39297C #62297C
triadic
#39297C #7C3929 #297C39
tetradic
#39297C #7C2943 #6C7C29 #297C62
square
#39297C #7C2943 #6C7C29 #297C62
split-complementary
#39297C #7C6229 #437C29
monochromatic
#0F0B20 #241A4E #39297C #4E38AA #6D58C8

Accessibility & contrast

On white

11.78
#39297C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#39297C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39297C
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39297C#FFFFFF#000000##FFFFFF
##39297C1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#1F3D4E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #39297c;
/* rgb */ color: rgb(57, 41, 124);
/* oklch */ color: oklch(35.2% 0.134 286.2);
Tailwind
colors: {
  custom: {
    50: '#7664a3',
    500: '#39297c',
    950: '#000000',
  },
}
SCSS
$custom: #39297c;
$custom-light: #7664a3;
$custom-dark: #000000;
JSON
{
  "hex": "#39297c",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 251.566,
    "s": 50.303,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35249,
    "c": 0.13395,
    "h": 286.2
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39297C

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

Preview Lab → · Contrast checker → · Palette generator →

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