#392482#392482

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

Color values

HEX#392482
RGBrgb(57, 36, 130)
HSLhsl(253, 57%, 33%)
HSVhsv(253, 72%, 51%)
CMYKcmyk(56.2%, 72.3%, 0%, 49%)
CIE-LABlab(22.80, 35.59, -49.57)
CIE-LCHlch(22.80, 61.02, 305.68°)
OKLaboklab(35% 0.0413 -0.1425)
OKLCHoklch(35% 0.148 286.2)
XYZxyz(6.3463, 3.7430, 21.5028)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392482 #6D8224
analogous
#243E82 #392482 #682482
triadic
#392482 #823924 #248239
tetradic
#392482 #82243E #6D8224 #248268
square
#392482 #82243E #6D8224 #248268
split-complementary
#392482 #826824 #3E8224
monochromatic
#0F0922 #241752 #392482 #4E31B2 #6D51CF

Accessibility & contrast

On white

12.01
#392482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#392482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392482
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392482#FFFFFF#000000##FFFFFF
##3924821.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#1A3D50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #392482;
/* rgb */ color: rgb(57, 36, 130);
/* oklch */ color: oklch(35.0% 0.148 286.2);
Tailwind
colors: {
  custom: {
    50: '#7861a7',
    500: '#392482',
    950: '#000000',
  },
}
SCSS
$custom: #392482;
$custom-light: #7861a7;
$custom-dark: #000000;
JSON
{
  "hex": "#392482",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 253.404,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35003,
    "c": 0.14838,
    "h": 286.2
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#392482
secondary
#9DB34F
accent
#E048BE
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #392482

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

Preview Lab → · Contrast checker → · Palette generator →

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