#382C92#382C92

#382C92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.160 H 280.8°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#382C92
RGBrgb(56, 44, 146)
HSLhsl(247, 54%, 37%)
HSVhsv(247, 70%, 57%)
CMYKcmyk(61.6%, 69.9%, 0%, 42.7%)
CIE-LABlab(25.91, 35.86, -54.45)
CIE-LCHlch(25.91, 65.20, 303.37°)
OKLaboklab(37.66% 0.0299 -0.1569)
OKLCHoklch(37.66% 0.16 280.8)
XYZxyz(7.7182, 4.7169, 27.6923)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C92 #86922C
analogous
#2C5392 #382C92 #6B2C92
triadic
#382C92 #92382C #2C9238
tetradic
#382C92 #922C53 #86922C #2C926B
square
#382C92 #922C53 #86922C #2C926B
split-complementary
#382C92 #926B2C #53922C
monochromatic
#141034 #261E63 #382C92 #4A3AC1 #7467D1

Accessibility & contrast

On white

10.81
#382C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#382C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C92
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C92#FFFFFF#000000##FFFFFF
##382C921.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382c92;
/* rgb */ color: rgb(56, 44, 146);
/* oklch */ color: oklch(37.7% 0.160 280.8);
Tailwind
colors: {
  custom: {
    50: '#7966b3',
    500: '#382c92',
    950: '#000000',
  },
}
SCSS
$custom: #382c92;
$custom-light: #7966b3;
$custom-dark: #000000;
JSON
{
  "hex": "#382c92",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 247.059,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37662,
    "c": 0.15972,
    "h": 280.8
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#382C92
secondary
#AEB862
accent
#DD4BCC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382C92

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

Preview Lab → · Contrast checker → · Palette generator →

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