#392683#392683

#392683 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.147 H 285.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#392683
RGBrgb(57, 38, 131)
HSLhsl(252, 55%, 33%)
HSVhsv(252, 71%, 51%)
CMYKcmyk(56.5%, 71%, 0%, 48.6%)
CIE-LABlab(23.32, 34.74, -49.35)
CIE-LCHlch(23.32, 60.35, 305.14°)
OKLaboklab(35.4% 0.0393 -0.1419)
OKLCHoklch(35.4% 0.147 285.5)
XYZxyz(6.4760, 3.8944, 21.8788)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392683 #708326
analogous
#264183 #392683 #672683
triadic
#392683 #833926 #268339
tetradic
#392683 #832641 #708326 #268367
square
#392683 #832641 #708326 #268367
split-complementary
#392683 #836726 #418326
monochromatic
#100A24 #241854 #392683 #4E34B2 #6E56CE

Accessibility & contrast

On white

11.80
#392683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#392683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392683
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392683#FFFFFF#000000##FFFFFF
##3926831.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#183E51
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #392683;
/* rgb */ color: rgb(57, 38, 131);
/* oklch */ color: oklch(35.4% 0.147 285.5);
Tailwind
colors: {
  custom: {
    50: '#7862a8',
    500: '#392683',
    950: '#000000',
  },
}
SCSS
$custom: #392683;
$custom-light: #7862a8;
$custom-dark: #000000;
JSON
{
  "hex": "#392683",
  "rgb": {
    "r": 57,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 252.258,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35401,
    "c": 0.14722,
    "h": 285.5
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#392683
secondary
#9FB252
accent
#DE49C0
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392683

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

Preview Lab → · Contrast checker → · Palette generator →

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