#382596#382596

#382596 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.173 H 281.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#382596
RGBrgb(56, 37, 150)
HSLhsl(250, 60%, 37%)
HSVhsv(250, 75%, 59%)
CMYKcmyk(62.7%, 75.3%, 0%, 41.2%)
CIE-LABlab(24.84, 41.19, -58.67)
CIE-LCHlch(24.84, 71.69, 305.07°)
OKLaboklab(37.02% 0.0346 -0.1692)
OKLCHoklch(37.02% 0.173 281.5)
XYZxyz(7.7957, 4.3653, 29.2800)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382596 #839625
analogous
#254B96 #382596 #712596
triadic
#382596 #963825 #259638
tetradic
#382596 #96254B #839625 #259671
square
#382596 #96254B #839625 #259671
split-complementary
#382596 #967125 #4B9625
monochromatic
#130D34 #261965 #382596 #4A31C7 #725ED7

Accessibility & contrast

On white

11.21
#382596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#382596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382596
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382596#FFFFFF#000000##FFFFFF
##3825961.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382596;
/* rgb */ color: rgb(56, 37, 150);
/* oklch */ color: oklch(37.0% 0.173 281.5);
Tailwind
colors: {
  custom: {
    50: '#7b62b6',
    500: '#382596',
    950: '#000000',
  },
}
SCSS
$custom: #382596;
$custom-light: #7b62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#382596",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 250.088,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37018,
    "c": 0.1727,
    "h": 281.5
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#382596
secondary
#ACBC5B
accent
#E444C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #382596

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

Preview Lab → · Contrast checker → · Palette generator →

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