#382080#382080

#382080 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.151 H 286.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#382080
RGBrgb(56, 32, 128)
HSLhsl(255, 60%, 31%)
HSVhsv(255, 75%, 50%)
CMYKcmyk(56.3%, 75%, 0%, 49.8%)
CIE-LABlab(21.70, 37.07, -50.12)
CIE-LCHlch(21.70, 62.34, 306.49°)
OKLaboklab(34.13% 0.0438 -0.1442)
OKLCHoklch(34.13% 0.151 286.9)
XYZxyz(6.0425, 3.4320, 20.7619)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382080 #688020
analogous
#203880 #382080 #682080
triadic
#382080 #803820 #208038
tetradic
#382080 #802038 #688020 #208068
square
#382080 #802038 #688020 #208068
split-complementary
#382080 #806820 #388020
monochromatic
#0D081E #23144F #382080 #4D2CB1 #6B49D1

Accessibility & contrast

On white

12.45
#382080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#382080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382080
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382080#FFFFFF#000000##FFFFFF
##3820801.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#193A4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #382080;
/* rgb */ color: rgb(56, 32, 128);
/* oklch */ color: oklch(34.1% 0.151 286.9);
Tailwind
colors: {
  custom: {
    50: '#775ea6',
    500: '#382080',
    950: '#000000',
  },
}
SCSS
$custom: #382080;
$custom-light: #775ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#382080",
  "rgb": {
    "r": 56,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 255,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34134,
    "c": 0.15066,
    "h": 286.9
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#382080
secondary
#98B349
accent
#E345BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #382080

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

Preview Lab → · Contrast checker → · Palette generator →

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