#392A72#392A72

#392A72 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.6% C 0.119 H 288.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#392A72
RGBrgb(57, 42, 114)
HSLhsl(253, 46%, 31%)
HSVhsv(253, 63%, 45%)
CMYKcmyk(50%, 63.2%, 0%, 55.3%)
CIE-LABlab(22.79, 26.78, -39.41)
CIE-LCHlch(22.79, 47.65, 304.20°)
OKLaboklab(34.57% 0.037 -0.1127)
OKLCHoklch(34.57% 0.119 288.2)
XYZxyz(5.5517, 3.7405, 16.3458)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392A72 #63722A
analogous
#2A3F72 #392A72 #5D2A72
triadic
#392A72 #72392A #2A7239
tetradic
#392A72 #722A3F #63722A #2A725D
square
#392A72 #722A3F #63722A #2A725D
split-complementary
#392A72 #725D2A #3F722A
monochromatic
#0C0919 #231A45 #392A72 #4F3A9F #6C56C1

Accessibility & contrast

On white

12.01
#392A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#392A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392A72
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392A72#FFFFFF#000000##FFFFFF
##392A721.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#263B49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392a72;
/* rgb */ color: rgb(57, 42, 114);
/* oklch */ color: oklch(34.6% 0.119 288.2);
Tailwind
colors: {
  custom: {
    50: '#74649b',
    500: '#392a72',
    950: '#000000',
  },
}
SCSS
$custom: #392a72;
$custom-light: #74649b;
$custom-dark: #000000;
JSON
{
  "hex": "#392a72",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 252.5,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34569,
    "c": 0.11858,
    "h": 288.2
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#392A72
secondary
#93A454
accent
#D652BA
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #392A72

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

Preview Lab → · Contrast checker → · Palette generator →

#392A72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva