#382084#382084

#382084 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.156 H 286.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#382084
RGBrgb(56, 32, 132)
HSLhsl(254, 61%, 32%)
HSVhsv(254, 76%, 52%)
CMYKcmyk(57.6%, 75.8%, 0%, 48.2%)
CIE-LABlab(22.09, 38.30, -52.01)
CIE-LCHlch(22.09, 64.59, 306.37°)
OKLaboklab(34.53% 0.0428 -0.1497)
OKLCHoklch(34.53% 0.156 286)
XYZxyz(6.3110, 3.5394, 22.1759)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382084 #6C8420
analogous
#203A84 #382084 #6A2084
triadic
#382084 #843820 #208438
tetradic
#382084 #84203A #6C8420 #20846A
square
#382084 #84203A #6C8420 #20846A
split-complementary
#382084 #846A20 #3A8420
monochromatic
#0E0821 #231453 #382084 #4D2CB5 #6C4BD3

Accessibility & contrast

On white

12.30
#382084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382084
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382084#FFFFFF#000000##FFFFFF
##3820841.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#153B50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #382084;
/* rgb */ color: rgb(56, 32, 132);
/* oklch */ color: oklch(34.5% 0.156 286.0);
Tailwind
colors: {
  custom: {
    50: '#785ea9',
    500: '#382084',
    950: '#000000',
  },
}
SCSS
$custom: #382084;
$custom-light: #785ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#382084",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 254.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34528,
    "c": 0.15568,
    "h": 286
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#382084
secondary
#9CB64A
accent
#E444BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #382084

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

Preview Lab → · Contrast checker → · Palette generator →

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