#382B95#382B95

#382B95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.165 H 280.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#382B95
RGBrgb(56, 43, 149)
HSLhsl(247, 55%, 38%)
HSVhsv(247, 71%, 58%)
CMYKcmyk(62.4%, 71.1%, 0%, 41.6%)
CIE-LABlab(25.97, 37.45, -56.20)
CIE-LCHlch(25.97, 67.53, 303.68°)
OKLaboklab(37.79% 0.0302 -0.162)
OKLCHoklch(37.79% 0.165 280.6)
XYZxyz(7.9179, 4.7379, 28.9252)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B95 #88952B
analogous
#2B5395 #382B95 #6D2B95
triadic
#382B95 #95382B #2B9538
tetradic
#382B95 #952B53 #88952B #2B956D
square
#382B95 #952B53 #88952B #2B956D
split-complementary
#382B95 #956D2B #53952B
monochromatic
#141036 #261D66 #382B95 #4A39C4 #7467D3

Accessibility & contrast

On white

10.78
#382B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382B95
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B95#FFFFFF#000000##FFFFFF
##382B951.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382b95;
/* rgb */ color: rgb(56, 43, 149);
/* oklch */ color: oklch(37.8% 0.165 280.6);
Tailwind
colors: {
  custom: {
    50: '#7a66b5',
    500: '#382b95',
    950: '#000000',
  },
}
SCSS
$custom: #382b95;
$custom-light: #7a66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382b95",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 247.358,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37793,
    "c": 0.1648,
    "h": 280.6
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#382B95
secondary
#AFBA62
accent
#DF49CC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382B95

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

Preview Lab → · Contrast checker → · Palette generator →

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