#382B96#382B96

#382B96 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.166 H 280.4°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#382B96
RGBrgb(56, 43, 150)
HSLhsl(247, 55%, 38%)
HSVhsv(247, 71%, 59%)
CMYKcmyk(62.7%, 71.3%, 0%, 41.2%)
CIE-LABlab(26.07, 37.77, -56.66)
CIE-LCHlch(26.07, 68.10, 303.69°)
OKLaboklab(37.89% 0.0301 -0.1633)
OKLCHoklch(37.89% 0.166 280.4)
XYZxyz(7.9980, 4.7699, 29.3475)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B96 #89962B
analogous
#2B5396 #382B96 #6E2B96
triadic
#382B96 #96382B #2B9638
tetradic
#382B96 #962B53 #89962B #2B966E
square
#382B96 #962B53 #89962B #2B966E
split-complementary
#382B96 #966E2B #53962B
monochromatic
#141037 #261D66 #382B96 #4A39C6 #7568D4

Accessibility & contrast

On white

10.75
#382B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#382B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B96
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B96#FFFFFF#000000##FFFFFF
##382B961.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382b96;
/* rgb */ color: rgb(56, 43, 150);
/* oklch */ color: oklch(37.9% 0.166 280.4);
Tailwind
colors: {
  custom: {
    50: '#7a66b6',
    500: '#382b96',
    950: '#000000',
  },
}
SCSS
$custom: #382b96;
$custom-light: #7a66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#382b96",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 247.29,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37889,
    "c": 0.16609,
    "h": 280.4
  },
  "luminance": 0.04771
}

Semantic roles & 50–950 ramp

primary
#382B96
secondary
#AFBA63
accent
#DF49CD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382B96

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

Preview Lab → · Contrast checker → · Palette generator →

#382B96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva