#392280#392280

#392280 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.148 H 287.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#392280
RGBrgb(57, 34, 128)
HSLhsl(255, 58%, 32%)
HSVhsv(255, 73%, 50%)
CMYKcmyk(55.5%, 73.4%, 0%, 49.8%)
CIE-LABlab(22.20, 36.11, -49.29)
CIE-LCHlch(22.20, 61.10, 306.23°)
OKLaboklab(34.52% 0.0436 -0.1417)
OKLCHoklch(34.52% 0.148 287.1)
XYZxyz(6.1545, 3.5721, 20.7831)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392280 #698022
analogous
#223A80 #392280 #682280
triadic
#392280 #803922 #228039
tetradic
#392280 #80223A #698022 #228068
square
#392280 #80223A #698022 #228068
split-complementary
#392280 #806822 #3A8022
monochromatic
#0E081F #231550 #392280 #4F2FB0 #6D4DD0

Accessibility & contrast

On white

12.25
#392280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#392280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392280
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392280#FFFFFF#000000##FFFFFF
##3922801.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#1C3B4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #392280;
/* rgb */ color: rgb(57, 34, 128);
/* oklch */ color: oklch(34.5% 0.148 287.1);
Tailwind
colors: {
  custom: {
    50: '#785fa6',
    500: '#392280',
    950: '#000000',
  },
}
SCSS
$custom: #392280;
$custom-light: #785fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#392280",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 254.681,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34519,
    "c": 0.14823,
    "h": 287.1
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#392280
secondary
#99B24B
accent
#E147BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #392280

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

Preview Lab → · Contrast checker → · Palette generator →

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