#392983#392983

#392983 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.143 H 284.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#392983
RGBrgb(57, 41, 131)
HSLhsl(251, 52%, 34%)
HSVhsv(251, 69%, 51%)
CMYKcmyk(56.5%, 68.7%, 0%, 48.6%)
CIE-LABlab(23.98, 32.93, -48.27)
CIE-LCHlch(23.98, 58.44, 304.30°)
OKLaboklab(35.88% 0.0364 -0.1387)
OKLCHoklch(35.88% 0.143 284.7)
XYZxyz(6.5758, 4.0941, 21.9121)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392983 #738329
analogous
#294683 #392983 #662983
triadic
#392983 #833929 #298339
tetradic
#392983 #832946 #738329 #298366
square
#392983 #832946 #738329 #298366
split-complementary
#392983 #836629 #468329
monochromatic
#100C26 #251A54 #392983 #4D38B2 #6F5BCC

Accessibility & contrast

On white

11.55
#392983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#392983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392983
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392983#FFFFFF#000000##FFFFFF
##3929831.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#184052
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392983;
/* rgb */ color: rgb(57, 41, 131);
/* oklch */ color: oklch(35.9% 0.143 284.7);
Tailwind
colors: {
  custom: {
    50: '#7764a8',
    500: '#392983',
    950: '#000000',
  },
}
SCSS
$custom: #392983;
$custom-light: #7764a8;
$custom-dark: #000000;
JSON
{
  "hex": "#392983",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 250.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.14342,
    "h": 284.7
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#392983
secondary
#A1B157
accent
#DC4CC2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #392983

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

Preview Lab → · Contrast checker → · Palette generator →

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