#392291#392291

#392291 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.170 H 283.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#392291
RGBrgb(57, 34, 145)
HSLhsl(252, 62%, 35%)
HSVhsv(252, 77%, 57%)
CMYKcmyk(60.7%, 76.6%, 0%, 43.1%)
CIE-LABlab(23.86, 41.38, -57.20)
CIE-LCHlch(23.86, 70.60, 305.88°)
OKLaboklab(36.2% 0.0395 -0.1648)
OKLCHoklch(36.2% 0.17 283.5)
XYZxyz(7.3686, 4.0578, 27.1775)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392291 #7A9122
analogous
#224391 #392291 #702291
triadic
#392291 #913922 #229139
tetradic
#392291 #912243 #7A9122 #229170
square
#392291 #912243 #7A9122 #229170
split-complementary
#392291 #917022 #439122
monochromatic
#120B2E #26165F #392291 #4C2EC3 #7156D7

Accessibility & contrast

On white

11.59
#392291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#392291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392291
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392291#FFFFFF#000000##FFFFFF
##3922911.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392291;
/* rgb */ color: rgb(57, 34, 145);
/* oklch */ color: oklch(36.2% 0.170 283.5);
Tailwind
colors: {
  custom: {
    50: '#7b60b2',
    500: '#392291',
    950: '#000000',
  },
}
SCSS
$custom: #392291;
$custom-light: #7b60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#392291",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 252.432,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36196,
    "c": 0.16951,
    "h": 283.5
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#392291
secondary
#A6BB53
accent
#E543C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #392291

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

Preview Lab → · Contrast checker → · Palette generator →

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