#382D67#382D67

#382D67 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.2% C 0.098 H 288.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#382D67
RGBrgb(56, 45, 103)
HSLhsl(251, 39%, 29%)
HSVhsv(251, 56%, 40%)
CMYKcmyk(45.6%, 56.3%, 0%, 59.6%)
CIE-LABlab(22.64, 21.00, -32.56)
CIE-LCHlch(22.64, 38.74, 302.82°)
OKLaboklab(34.17% 0.0316 -0.0925)
OKLCHoklch(34.17% 0.098 288.9)
XYZxyz(5.0168, 3.6966, 13.2785)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D67 #5C672D
analogous
#2D3F67 #382D67 #552D67
triadic
#382D67 #67382D #2D6738
tetradic
#382D67 #672D3F #5C672D #2D6755
square
#382D67 #672D3F #5C672D #2D6755
split-complementary
#382D67 #67552D #3F672D
monochromatic
#0C0915 #211A3C #382D67 #4F4092 #6A58B6

Accessibility & contrast

On white

12.07
#382D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#382D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D67
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D67#FFFFFF#000000##FFFFFF
##382D671.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123769
Deuteranopia (green-blind)
#123566
Tritanopia (blue-blind)
#2A3945
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #382d67;
/* rgb */ color: rgb(56, 45, 103);
/* oklch */ color: oklch(34.2% 0.098 288.9);
Tailwind
colors: {
  custom: {
    50: '#726693',
    500: '#382d67',
    950: '#000000',
  },
}
SCSS
$custom: #382d67;
$custom-light: #726693;
$custom-dark: #000000;
JSON
{
  "hex": "#382d67",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 251.379,
    "s": 39.189,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34172,
    "c": 0.09781,
    "h": 288.9
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

primary
#382D67
secondary
#8C9957
accent
#CF59B9
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #382D67

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

Preview Lab → · Contrast checker → · Palette generator →

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