#392452#392452

#392452 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.0% C 0.082 H 303.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#392452
RGBrgb(57, 36, 82)
HSLhsl(267, 39%, 23%)
HSVhsv(267, 56%, 32%)
CMYKcmyk(30.5%, 56.1%, 0%, 67.8%)
CIE-LABlab(18.97, 20.83, -24.53)
CIE-LCHlch(18.97, 32.18, 310.34°)
OKLaboklab(31.01% 0.0448 -0.069)
OKLCHoklch(31.01% 0.082 303)
XYZxyz(3.8409, 2.7408, 8.3077)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392452 #3D5224
analogous
#242652 #392452 #502452
triadic
#392452 #523924 #245239
tetradic
#392452 #522426 #3D5224 #245250
square
#392452 #522426 #3D5224 #245250
split-complementary
#392452 #525024 #265224
monochromatic
#0F0915 #1B1127 #392452 #57377D #7449A7

Accessibility & contrast

On white

13.56
#392452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#392452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392452
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392452#FFFFFF#000000##FFFFFF
##3924521.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E54
Deuteranopia (green-blind)
#1B2E51
Tritanopia (blue-blind)
#342C37
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #392452;
/* rgb */ color: rgb(57, 36, 82);
/* oklch */ color: oklch(31.0% 0.082 303.0);
Tailwind
colors: {
  custom: {
    50: '#715f83',
    500: '#392452',
    950: '#000000',
  },
}
SCSS
$custom: #392452;
$custom-light: #715f83;
$custom-dark: #000000;
JSON
{
  "hex": "#392452",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 267.391,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31015,
    "c": 0.08225,
    "h": 303
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#392452
secondary
#6B864C
accent
#CF5999
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040A
muted
#7B797C

Preview Lab

Preview with #392452

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

Preview Lab → · Contrast checker → · Palette generator →

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