#382996#382996

#382996 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.168 H 280.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#382996
RGBrgb(56, 41, 150)
HSLhsl(248, 57%, 37%)
HSVhsv(248, 73%, 59%)
CMYKcmyk(62.7%, 72.7%, 0%, 41.2%)
CIE-LABlab(25.65, 38.94, -57.35)
CIE-LCHlch(25.65, 69.32, 304.18°)
OKLaboklab(37.59% 0.0316 -0.1654)
OKLCHoklch(37.59% 0.168 280.8)
XYZxyz(7.9271, 4.6281, 29.3238)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382996 #879629
analogous
#295096 #382996 #6F2996
triadic
#382996 #963829 #299638
tetradic
#382996 #962950 #879629 #29966F
square
#382996 #962950 #879629 #29966F
split-complementary
#382996 #966F29 #509629
monochromatic
#140F36 #261C66 #382996 #4A36C6 #7465D5

Accessibility & contrast

On white

10.90
#382996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#382996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382996
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382996#FFFFFF#000000##FFFFFF
##3829961.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382996;
/* rgb */ color: rgb(56, 41, 150);
/* oklch */ color: oklch(37.6% 0.168 280.8);
Tailwind
colors: {
  custom: {
    50: '#7b64b6',
    500: '#382996',
    950: '#000000',
  },
}
SCSS
$custom: #382996;
$custom-light: #7b64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#382996",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 248.257,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37588,
    "c": 0.16836,
    "h": 280.8
  },
  "luminance": 0.04629
}

Semantic roles & 50–950 ramp

primary
#382996
secondary
#AEBB60
accent
#E047CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #382996

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

Preview Lab → · Contrast checker → · Palette generator →

#382996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva