#382D63#382D63

#382D63 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 33.9% C 0.092 H 290.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#382D63
RGBrgb(56, 45, 99)
HSLhsl(252, 38%, 28%)
HSVhsv(252, 55%, 39%)
CMYKcmyk(43.4%, 54.5%, 0%, 61.2%)
CIE-LABlab(22.37, 19.71, -30.39)
CIE-LCHlch(22.37, 36.22, 302.96°)
OKLaboklab(33.88% 0.0314 -0.0862)
OKLCHoklch(33.88% 0.092 290)
XYZxyz(4.8208, 3.6182, 12.2463)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D63 #58632D
analogous
#2D3D63 #382D63 #532D63
triadic
#382D63 #63382D #2D6338
tetradic
#382D63 #632D3D #58632D #2D6353
square
#382D63 #632D3D #58632D #2D6353
split-complementary
#382D63 #63532D #3D632D
monochromatic
#0C0A15 #201A39 #382D63 #50408D #6A58B3

Accessibility & contrast

On white

12.18
#382D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#382D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D63
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D63#FFFFFF#000000##FFFFFF
##382D631.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163665
Deuteranopia (green-blind)
#173462
Tritanopia (blue-blind)
#2C3843
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #382d63;
/* rgb */ color: rgb(56, 45, 99);
/* oklch */ color: oklch(33.9% 0.092 290.0);
Tailwind
colors: {
  custom: {
    50: '#716690',
    500: '#382d63',
    950: '#000000',
  },
}
SCSS
$custom: #382d63;
$custom-light: #716690;
$custom-dark: #000000;
JSON
{
  "hex": "#382d63",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 252.222,
    "s": 37.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33878,
    "c": 0.09171,
    "h": 290
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#382D63
secondary
#889557
accent
#CD5AB6
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08060C
muted
#7B7A7D

Preview Lab

Preview with #382D63

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

Preview Lab → · Contrast checker → · Palette generator →

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