#392083#392083

#392083 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.154 H 286.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#392083
RGBrgb(57, 32, 131)
HSLhsl(255, 61%, 32%)
HSVhsv(255, 76%, 51%)
CMYKcmyk(56.5%, 75.6%, 0%, 48.6%)
CIE-LABlab(22.09, 38.15, -51.36)
CIE-LCHlch(22.09, 63.98, 306.61°)
OKLaboklab(34.53% 0.0446 -0.1478)
OKLCHoklch(34.53% 0.154 286.8)
XYZxyz(6.2994, 3.5412, 21.8199)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392083 #6A8320
analogous
#203883 #392083 #6B2083
triadic
#392083 #833920 #208339
tetradic
#392083 #832038 #6A8320 #20836B
square
#392083 #832038 #6A8320 #20836B
split-complementary
#392083 #836B20 #388320
monochromatic
#0E0821 #241452 #392083 #4E2CB4 #6D4AD3

Accessibility & contrast

On white

12.29
#392083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#392083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392083
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392083#FFFFFF#000000##FFFFFF
##3920831.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392083;
/* rgb */ color: rgb(57, 32, 131);
/* oklch */ color: oklch(34.5% 0.154 286.8);
Tailwind
colors: {
  custom: {
    50: '#785ea8',
    500: '#392083',
    950: '#000000',
  },
}
SCSS
$custom: #392083;
$custom-light: #785ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#392083",
  "rgb": {
    "r": 57,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 255.152,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34528,
    "c": 0.15435,
    "h": 286.8
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#392083
secondary
#9AB649
accent
#E444BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #392083

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

Preview Lab → · Contrast checker → · Palette generator →

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