#382392#382392

#382392 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.170 H 282.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#382392
RGBrgb(56, 35, 146)
HSLhsl(251, 61%, 35%)
HSVhsv(251, 76%, 57%)
CMYKcmyk(61.6%, 76%, 0%, 42.7%)
CIE-LABlab(24.06, 41.02, -57.50)
CIE-LCHlch(24.06, 70.63, 305.51°)
OKLaboklab(36.34% 0.037 -0.1658)
OKLCHoklch(36.34% 0.17 282.6)
XYZxyz(7.4186, 4.1176, 27.5924)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382392 #7D9223
analogous
#234692 #382392 #6F2392
triadic
#382392 #923823 #239238
tetradic
#382392 #922346 #7D9223 #23926F
square
#382392 #922346 #7D9223 #23926F
split-complementary
#382392 #926F23 #469223
monochromatic
#120B2F #251761 #382392 #4B2FC3 #7058D7

Accessibility & contrast

On white

11.52
#382392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#382392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382392
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382392#FFFFFF#000000##FFFFFF
##3823921.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382392;
/* rgb */ color: rgb(56, 35, 146);
/* oklch */ color: oklch(36.3% 0.170 282.6);
Tailwind
colors: {
  custom: {
    50: '#7a61b3',
    500: '#382392',
    950: '#000000',
  },
}
SCSS
$custom: #382392;
$custom-light: #7a61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#382392",
  "rgb": {
    "r": 56,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 251.351,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36341,
    "c": 0.16984,
    "h": 282.6
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#382392
secondary
#A8BB55
accent
#E443C6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382392

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

Preview Lab → · Contrast checker → · Palette generator →

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