#392380#392380

#392380 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.147 H 286.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#392380
RGBrgb(57, 35, 128)
HSLhsl(254, 57%, 32%)
HSVhsv(254, 73%, 50%)
CMYKcmyk(55.5%, 72.7%, 0%, 49.8%)
CIE-LABlab(22.41, 35.54, -48.95)
CIE-LCHlch(22.41, 60.49, 305.98°)
OKLaboklab(34.67% 0.0426 -0.1407)
OKLCHoklch(34.67% 0.147 286.9)
XYZxyz(6.1835, 3.6301, 20.7927)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392380 #6A8023
analogous
#233B80 #392380 #682380
triadic
#392380 #803923 #238039
tetradic
#392380 #80233B #6A8023 #238068
square
#392380 #80233B #6A8023 #238068
split-complementary
#392380 #806823 #3B8023
monochromatic
#0E0920 #241650 #392380 #4E30B0 #6D4FCF

Accessibility & contrast

On white

12.17
#392380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392380
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392380#FFFFFF#000000##FFFFFF
##3923801.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#1C3B4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392380;
/* rgb */ color: rgb(57, 35, 128);
/* oklch */ color: oklch(34.7% 0.147 286.9);
Tailwind
colors: {
  custom: {
    50: '#7760a6',
    500: '#392380',
    950: '#000000',
  },
}
SCSS
$custom: #392380;
$custom-light: #7760a6;
$custom-dark: #000000;
JSON
{
  "hex": "#392380",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 254.194,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34665,
    "c": 0.14702,
    "h": 286.9
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#392380
secondary
#9AB24D
accent
#E047BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #392380

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

Preview Lab → · Contrast checker → · Palette generator →

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