#392183#392183

#392183 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.153 H 286.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#392183
RGBrgb(57, 33, 131)
HSLhsl(255, 60%, 32%)
HSVhsv(255, 75%, 51%)
CMYKcmyk(56.5%, 74.8%, 0%, 48.6%)
CIE-LABlab(22.29, 37.60, -51.04)
CIE-LCHlch(22.29, 63.40, 306.38°)
OKLaboklab(34.67% 0.0438 -0.1468)
OKLCHoklch(34.67% 0.153 286.6)
XYZxyz(6.3267, 3.5959, 21.8290)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392183 #6B8321
analogous
#213A83 #392183 #6A2183
triadic
#392183 #833921 #218339
tetradic
#392183 #83213A #6B8321 #21836A
square
#392183 #83213A #6B8321 #21836A
split-complementary
#392183 #836A21 #3A8321
monochromatic
#0E0821 #241552 #392183 #4E2DB4 #6D4CD2

Accessibility & contrast

On white

12.21
#392183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#392183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392183
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392183#FFFFFF#000000##FFFFFF
##3921831.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#193B50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #392183;
/* rgb */ color: rgb(57, 33, 131);
/* oklch */ color: oklch(34.7% 0.153 286.6);
Tailwind
colors: {
  custom: {
    50: '#785fa8',
    500: '#392183',
    950: '#000000',
  },
}
SCSS
$custom: #392183;
$custom-light: #785fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#392183",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 254.694,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34666,
    "c": 0.1532,
    "h": 286.6
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#392183
secondary
#9BB54B
accent
#E345BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392183

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

Preview Lab → · Contrast checker → · Palette generator →

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