#392283#392283

#392283 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.152 H 286.4°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#392283
RGBrgb(57, 34, 131)
HSLhsl(254, 59%, 32%)
HSVhsv(254, 74%, 51%)
CMYKcmyk(56.5%, 74%, 0%, 48.6%)
CIE-LABlab(22.49, 37.04, -50.71)
CIE-LCHlch(22.49, 62.80, 306.15°)
OKLaboklab(34.81% 0.0429 -0.1459)
OKLCHoklch(34.81% 0.152 286.4)
XYZxyz(6.3549, 3.6523, 21.8384)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392283 #6C8322
analogous
#223B83 #392283 #6A2283
triadic
#392283 #833922 #228339
tetradic
#392283 #83223B #6C8322 #22836A
square
#392283 #83223B #6C8322 #22836A
split-complementary
#392283 #836A22 #3B8322
monochromatic
#0F0922 #241552 #392283 #4E2FB4 #6D4ED1

Accessibility & contrast

On white

12.13
#392283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#392283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392283
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392283#FFFFFF#000000##FFFFFF
##3922831.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#193C50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392283;
/* rgb */ color: rgb(57, 34, 131);
/* oklch */ color: oklch(34.8% 0.152 286.4);
Tailwind
colors: {
  custom: {
    50: '#785fa8',
    500: '#392283',
    950: '#000000',
  },
}
SCSS
$custom: #392283;
$custom-light: #785fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#392283",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 254.227,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34807,
    "c": 0.15204,
    "h": 286.4
  },
  "luminance": 0.03653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392283

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

Preview Lab → · Contrast checker → · Palette generator →

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