#382B92#382B92

#382B92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.161 H 281.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#382B92
RGBrgb(56, 43, 146)
HSLhsl(248, 54%, 37%)
HSVhsv(248, 71%, 57%)
CMYKcmyk(61.6%, 70.5%, 0%, 42.7%)
CIE-LABlab(25.69, 36.46, -54.81)
CIE-LCHlch(25.69, 65.83, 303.63°)
OKLaboklab(37.51% 0.0308 -0.1579)
OKLCHoklch(37.51% 0.161 281)
XYZxyz(7.6814, 4.6433, 27.6800)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B92 #85922B
analogous
#2B5292 #382B92 #6C2B92
triadic
#382B92 #92382B #2B9238
tetradic
#382B92 #922B52 #85922B #2B926C
square
#382B92 #922B52 #85922B #2B926C
split-complementary
#382B92 #926C2B #52922B
monochromatic
#140F33 #261D63 #382B92 #4A39C1 #7366D2

Accessibility & contrast

On white

10.89
#382B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#382B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B92
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B92#FFFFFF#000000##FFFFFF
##382B921.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382b92;
/* rgb */ color: rgb(56, 43, 146);
/* oklch */ color: oklch(37.5% 0.161 281.0);
Tailwind
colors: {
  custom: {
    50: '#7a66b3',
    500: '#382b92',
    950: '#000000',
  },
}
SCSS
$custom: #382b92;
$custom-light: #7a66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#382b92",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 247.573,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37505,
    "c": 0.16091,
    "h": 281
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#382B92
secondary
#ADB861
accent
#DE4ACB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382B92

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

Preview Lab → · Contrast checker → · Palette generator →

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