#392974#392974

#392974 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.123 H 288.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#392974
RGBrgb(57, 41, 116)
HSLhsl(253, 48%, 31%)
HSVhsv(253, 65%, 45%)
CMYKcmyk(50.9%, 64.7%, 0%, 54.5%)
CIE-LABlab(22.71, 28.07, -40.83)
CIE-LCHlch(22.71, 49.54, 304.51°)
OKLaboklab(34.56% 0.038 -0.1168)
OKLCHoklch(34.56% 0.123 288)
XYZxyz(5.6318, 3.7164, 16.9402)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392974 #647429
analogous
#293E74 #392974 #5E2974
triadic
#392974 #743929 #297439
tetradic
#392974 #74293E #647429 #29745E
square
#392974 #74293E #647429 #29745E
split-complementary
#392974 #745E29 #3E7429
monochromatic
#0D091A #231947 #392974 #4F39A1 #6C55C3

Accessibility & contrast

On white

12.05
#392974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#392974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392974
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392974#FFFFFF#000000##FFFFFF
##3929741.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#253B4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392974;
/* rgb */ color: rgb(57, 41, 116);
/* oklch */ color: oklch(34.6% 0.123 288.0);
Tailwind
colors: {
  custom: {
    50: '#75639d',
    500: '#392974',
    950: '#000000',
  },
}
SCSS
$custom: #392974;
$custom-light: #75639d;
$custom-dark: #000000;
JSON
{
  "hex": "#392974",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 252.8,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34559,
    "c": 0.12287,
    "h": 288
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#392974
secondary
#94A653
accent
#D750BB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #392974

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

Preview Lab → · Contrast checker → · Palette generator →

#392974 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva