#392383#392383

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

Color values

HEX#392383
RGBrgb(57, 35, 131)
HSLhsl(254, 58%, 33%)
HSVhsv(254, 73%, 51%)
CMYKcmyk(56.5%, 73.3%, 0%, 48.6%)
CIE-LABlab(22.69, 36.48, -50.38)
CIE-LCHlch(22.69, 62.20, 305.91°)
OKLaboklab(34.95% 0.042 -0.1449)
OKLCHoklch(34.95% 0.151 286.2)
XYZxyz(6.3839, 3.7103, 21.8481)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392383 #6D8323
analogous
#233D83 #392383 #692383
triadic
#392383 #833923 #238339
tetradic
#392383 #83233D #6D8323 #238369
square
#392383 #83233D #6D8323 #238369
split-complementary
#392383 #836923 #3D8323
monochromatic
#0F0922 #241653 #392383 #4E30B3 #6D50D0

Accessibility & contrast

On white

12.05
#392383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392383
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392383#FFFFFF#000000##FFFFFF
##3923831.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #392383;
/* rgb */ color: rgb(57, 35, 131);
/* oklch */ color: oklch(35.0% 0.151 286.2);
Tailwind
colors: {
  custom: {
    50: '#7860a8',
    500: '#392383',
    950: '#000000',
  },
}
SCSS
$custom: #392383;
$custom-light: #7860a8;
$custom-dark: #000000;
JSON
{
  "hex": "#392383",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 253.75,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34951,
    "c": 0.15087,
    "h": 286.2
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#392383
secondary
#9DB44E
accent
#E147BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392383

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

Preview Lab → · Contrast checker → · Palette generator →

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