#392288#392288

#392288 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.158 H 285.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#392288
RGBrgb(57, 34, 136)
HSLhsl(254, 60%, 33%)
HSVhsv(254, 75%, 53%)
CMYKcmyk(58.1%, 75%, 0%, 46.7%)
CIE-LABlab(22.97, 38.60, -53.06)
CIE-LCHlch(22.97, 65.62, 306.03°)
OKLaboklab(35.3% 0.0417 -0.1527)
OKLCHoklch(35.3% 0.158 285.3)
XYZxyz(6.7020, 3.7911, 23.6664)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392288 #718822
analogous
#223E88 #392288 #6C2288
triadic
#392288 #883922 #228839
tetradic
#392288 #88223E #718822 #22886C
square
#392288 #88223E #718822 #22886C
split-complementary
#392288 #886C22 #3E8822
monochromatic
#100A26 #241657 #392288 #4E2EB9 #6E51D3

Accessibility & contrast

On white

11.94
#392288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#392288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392288
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392288#FFFFFF#000000##FFFFFF
##3922881.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#123E53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #392288;
/* rgb */ color: rgb(57, 34, 136);
/* oklch */ color: oklch(35.3% 0.158 285.3);
Tailwind
colors: {
  custom: {
    50: '#7960ac',
    500: '#392288',
    950: '#000000',
  },
}
SCSS
$custom: #392288;
$custom-light: #7960ac;
$custom-dark: #000000;
JSON
{
  "hex": "#392288",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 253.529,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35296,
    "c": 0.15834,
    "h": 285.3
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#392288
secondary
#A0B74F
accent
#E345BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392288

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

Preview Lab → · Contrast checker → · Palette generator →

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