#392284#392284

#392284 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.153 H 286.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#392284
RGBrgb(57, 34, 132)
HSLhsl(254, 59%, 33%)
HSVhsv(254, 74%, 52%)
CMYKcmyk(56.8%, 74.2%, 0%, 48.2%)
CIE-LABlab(22.58, 37.36, -51.19)
CIE-LCHlch(22.58, 63.37, 306.12°)
OKLaboklab(34.9% 0.0427 -0.1473)
OKLCHoklch(34.9% 0.153 286.2)
XYZxyz(6.4230, 3.6795, 22.1971)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392284 #6D8422
analogous
#223C84 #392284 #6A2284
triadic
#392284 #843922 #228439
tetradic
#392284 #84223C #6D8422 #22846A
square
#392284 #84223C #6D8422 #22846A
split-complementary
#392284 #846A22 #3C8422
monochromatic
#0F0923 #241553 #392284 #4E2FB5 #6D4FD2

Accessibility & contrast

On white

12.10
#392284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#392284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392284
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392284#FFFFFF#000000##FFFFFF
##3922841.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#183C51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392284;
/* rgb */ color: rgb(57, 34, 132);
/* oklch */ color: oklch(34.9% 0.153 286.2);
Tailwind
colors: {
  custom: {
    50: '#785fa9',
    500: '#392284',
    950: '#000000',
  },
}
SCSS
$custom: #392284;
$custom-light: #785fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#392284",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 254.082,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34904,
    "c": 0.15331,
    "h": 286.2
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#392284
secondary
#9DB54D
accent
#E246BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392284

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

Preview Lab → · Contrast checker → · Palette generator →

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