#392883#392883

#392883 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.7% C 0.145 H 285.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#392883
RGBrgb(57, 40, 131)
HSLhsl(251, 53%, 34%)
HSVhsv(251, 69%, 51%)
CMYKcmyk(56.5%, 69.5%, 0%, 48.6%)
CIE-LABlab(23.76, 33.54, -48.64)
CIE-LCHlch(23.76, 59.08, 304.59°)
OKLaboklab(35.72% 0.0373 -0.1398)
OKLCHoklch(35.72% 0.145 285)
XYZxyz(6.5416, 4.0258, 21.9007)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392883 #728328
analogous
#284483 #392883 #662883
triadic
#392883 #833928 #288339
tetradic
#392883 #832844 #728328 #288366
square
#392883 #832844 #728328 #288366
split-complementary
#392883 #836628 #448328
monochromatic
#100B25 #251A54 #392883 #4D36B2 #6F59CC

Accessibility & contrast

On white

11.63
#392883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392883
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392883#FFFFFF#000000##FFFFFF
##3928831.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#183F52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392883;
/* rgb */ color: rgb(57, 40, 131);
/* oklch */ color: oklch(35.7% 0.145 285.0);
Tailwind
colors: {
  custom: {
    50: '#7863a8',
    500: '#392883',
    950: '#000000',
  },
}
SCSS
$custom: #392883;
$custom-light: #7863a8;
$custom-dark: #000000;
JSON
{
  "hex": "#392883",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 251.209,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35715,
    "c": 0.1447,
    "h": 285
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#392883
secondary
#A0B155
accent
#DD4BC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #392883

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

Preview Lab → · Contrast checker → · Palette generator →

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