#382079#382079

#382079 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.142 H 288.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#382079
RGBrgb(56, 32, 121)
HSLhsl(256, 58%, 30%)
HSVhsv(256, 74%, 47%)
CMYKcmyk(53.7%, 73.6%, 0%, 52.5%)
CIE-LABlab(21.03, 34.90, -46.76)
CIE-LCHlch(21.03, 58.35, 306.74°)
OKLaboklab(33.46% 0.0454 -0.1343)
OKLCHoklch(33.46% 0.142 288.7)
XYZxyz(5.5976, 3.2540, 18.4186)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382079 #617920
analogous
#203479 #382079 #652079
triadic
#382079 #793820 #207938
tetradic
#382079 #792034 #617920 #207965
square
#382079 #792034 #617920 #207965
split-complementary
#382079 #796520 #347920
monochromatic
#0B0618 #221349 #382079 #4E2DA9 #6A45CE

Accessibility & contrast

On white

12.72
#382079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#382079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382079
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382079#FFFFFF#000000##FFFFFF
##3820791.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#20374A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #382079;
/* rgb */ color: rgb(56, 32, 121);
/* oklch */ color: oklch(33.5% 0.142 288.7);
Tailwind
colors: {
  custom: {
    50: '#765ea1',
    500: '#382079',
    950: '#000000',
  },
}
SCSS
$custom: #382079;
$custom-light: #765ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#382079",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 256.18,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.3346,
    "c": 0.14176,
    "h": 288.7
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#382079
secondary
#91AC49
accent
#E146B8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #382079

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

Preview Lab → · Contrast checker → · Palette generator →

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