#382C93#382C93

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

Color values

HEX#382C93
RGBrgb(56, 44, 147)
HSLhsl(247, 54%, 37%)
HSVhsv(247, 70%, 58%)
CMYKcmyk(61.9%, 70.1%, 0%, 42.4%)
CIE-LABlab(26.00, 36.19, -54.92)
CIE-LCHlch(26.00, 65.77, 303.39°)
OKLaboklab(37.76% 0.0298 -0.1582)
OKLCHoklch(37.76% 0.161 280.7)
XYZxyz(7.7964, 4.7481, 28.1037)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C93 #87932C
analogous
#2C5493 #382C93 #6B2C93
triadic
#382C93 #93382C #2C9338
tetradic
#382C93 #932C54 #87932C #2C936B
square
#382C93 #932C54 #87932C #2C936B
split-complementary
#382C93 #936B2C #54932C
monochromatic
#141035 #261E64 #382C93 #4A3AC2 #7468D2

Accessibility & contrast

On white

10.77
#382C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382C93
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C93#FFFFFF#000000##FFFFFF
##382C931.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382c93;
/* rgb */ color: rgb(56, 44, 147);
/* oklch */ color: oklch(37.8% 0.161 280.7);
Tailwind
colors: {
  custom: {
    50: '#7a66b4',
    500: '#382c93',
    950: '#000000',
  },
}
SCSS
$custom: #382c93;
$custom-light: #7a66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#382c93",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 246.99,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37757,
    "c": 0.16102,
    "h": 280.7
  },
  "luminance": 0.04749
}

Semantic roles & 50–950 ramp

primary
#382C93
secondary
#AEB863
accent
#DD4ACC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382C93

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

Preview Lab → · Contrast checker → · Palette generator →

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