#392253#392253

#392253 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.7% C 0.087 H 303.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#392253
RGBrgb(57, 34, 83)
HSLhsl(268, 42%, 23%)
HSVhsv(268, 59%, 33%)
CMYKcmyk(31.3%, 59%, 0%, 67.5%)
CIE-LABlab(18.53, 22.42, -25.90)
CIE-LCHlch(18.53, 34.26, 310.88°)
OKLaboklab(30.71% 0.048 -0.073)
OKLCHoklch(30.71% 0.087 303.3)
XYZxyz(3.8204, 2.6385, 8.4899)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392253 #3C5322
analogous
#222453 #392253 #512253
triadic
#392253 #533922 #225339
tetradic
#392253 #532224 #3C5322 #225351
square
#392253 #532224 #3C5322 #225351
split-complementary
#392253 #535122 #245322
monochromatic
#0F0916 #1B1028 #392253 #57347E #7546AA

Accessibility & contrast

On white

13.75
#392253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#392253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392253
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392253#FFFFFF#000000##FFFFFF
##3922531.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102D55
Deuteranopia (green-blind)
#182D52
Tritanopia (blue-blind)
#342B36
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #392253;
/* rgb */ color: rgb(57, 34, 83);
/* oklch */ color: oklch(30.7% 0.087 303.3);
Tailwind
colors: {
  custom: {
    50: '#715e84',
    500: '#392253',
    950: '#000000',
  },
}
SCSS
$custom: #392253;
$custom-light: #715e84;
$custom-dark: #000000;
JSON
{
  "hex": "#392253",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 268.163,
    "s": 41.88,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3071,
    "c": 0.08736,
    "h": 303.3
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#392253
secondary
#6A874A
accent
#D25698
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #392253

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

Preview Lab → · Contrast checker → · Palette generator →

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