#382588#382588

#382588 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.155 H 284.1°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#382588
RGBrgb(56, 37, 136)
HSLhsl(252, 57%, 34%)
HSVhsv(252, 73%, 53%)
CMYKcmyk(58.8%, 72.8%, 0%, 46.7%)
CIE-LABlab(23.48, 36.75, -52.24)
CIE-LCHlch(23.48, 63.87, 305.13°)
OKLaboklab(35.63% 0.0377 -0.1504)
OKLCHoklch(35.63% 0.155 284.1)
XYZxyz(6.7350, 3.9410, 23.6936)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382588 #758825
analogous
#254488 #382588 #6A2588
triadic
#382588 #883825 #258838
tetradic
#382588 #882544 #758825 #25886A
square
#382588 #882544 #758825 #25886A
split-complementary
#382588 #886A25 #448825
monochromatic
#100B28 #241858 #382588 #4C32B8 #6E56D1

Accessibility & contrast

On white

11.74
#382588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#382588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382588
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382588#FFFFFF#000000##FFFFFF
##3825881.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#0E3F54
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #382588;
/* rgb */ color: rgb(56, 37, 136);
/* oklch */ color: oklch(35.6% 0.155 284.1);
Tailwind
colors: {
  custom: {
    50: '#7861ac',
    500: '#382588',
    950: '#000000',
  },
}
SCSS
$custom: #382588;
$custom-light: #7861ac;
$custom-dark: #000000;
JSON
{
  "hex": "#382588",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 251.515,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.15503,
    "h": 284.1
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#382588
secondary
#A3B653
accent
#E047C3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #382588

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

Preview Lab → · Contrast checker → · Palette generator →

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