#382B99#382B99

#382B99 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.170 H 280.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#382B99
RGBrgb(56, 43, 153)
HSLhsl(247, 56%, 38%)
HSVhsv(247, 72%, 60%)
CMYKcmyk(63.4%, 71.9%, 0%, 40%)
CIE-LABlab(26.35, 38.75, -58.03)
CIE-LCHlch(26.35, 69.78, 303.74°)
OKLaboklab(38.18% 0.0295 -0.1674)
OKLCHoklch(38.18% 0.17 280)
XYZxyz(8.2427, 4.8678, 30.6360)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B99 #8C992B
analogous
#2B5599 #382B99 #6F2B99
triadic
#382B99 #99382B #2B9938
tetradic
#382B99 #992B55 #8C992B #2B996F
square
#382B99 #992B55 #8C992B #2B996F
split-complementary
#382B99 #996F2B #55992B
monochromatic
#151039 #271E69 #382B99 #4A3AC8 #7669D5

Accessibility & contrast

On white

10.64
#382B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#382B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B99
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B99#FFFFFF#000000##FFFFFF
##382B991.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382b99;
/* rgb */ color: rgb(56, 43, 153);
/* oklch */ color: oklch(38.2% 0.170 280.0);
Tailwind
colors: {
  custom: {
    50: '#7b66b8',
    500: '#382b99',
    950: '#000000',
  },
}
SCSS
$custom: #382b99;
$custom-light: #7b66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#382b99",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 247.091,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.16994,
    "h": 280
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#382B99
secondary
#B1BC64
accent
#DF48CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382B99

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

Preview Lab → · Contrast checker → · Palette generator →

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