#382B97#382B97

#382B97 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.167 H 280.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#382B97
RGBrgb(56, 43, 151)
HSLhsl(247, 56%, 38%)
HSVhsv(247, 72%, 59%)
CMYKcmyk(62.9%, 71.5%, 0%, 40.8%)
CIE-LABlab(26.16, 38.10, -57.12)
CIE-LCHlch(26.16, 68.66, 303.70°)
OKLaboklab(37.99% 0.0299 -0.1647)
OKLCHoklch(37.99% 0.167 280.3)
XYZxyz(8.0789, 4.8023, 29.7734)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B97 #8A972B
analogous
#2B5497 #382B97 #6E2B97
triadic
#382B97 #97382B #2B9738
tetradic
#382B97 #972B54 #8A972B #2B976E
square
#382B97 #972B54 #8A972B #2B976E
split-complementary
#382B97 #976E2B #54972B
monochromatic
#151038 #261D67 #382B97 #4A39C7 #7568D4

Accessibility & contrast

On white

10.71
#382B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#382B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B97
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B97#FFFFFF#000000##FFFFFF
##382B971.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382b97;
/* rgb */ color: rgb(56, 43, 151);
/* oklch */ color: oklch(38.0% 0.167 280.3);
Tailwind
colors: {
  custom: {
    50: '#7b66b7',
    500: '#382b97',
    950: '#000000',
  },
}
SCSS
$custom: #382b97;
$custom-light: #7b66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#382b97",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 247.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37986,
    "c": 0.16738,
    "h": 280.3
  },
  "luminance": 0.04803
}

Semantic roles & 50–950 ramp

primary
#382B97
secondary
#B0BB63
accent
#DF49CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382B97

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

Preview Lab → · Contrast checker → · Palette generator →

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