#382B59#382B59

#382B59 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.8% C 0.080 H 294.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#382B59
RGBrgb(56, 43, 89)
HSLhsl(257, 35%, 26%)
HSVhsv(257, 52%, 35%)
CMYKcmyk(37.1%, 51.7%, 0%, 65.1%)
CIE-LABlab(21.17, 17.92, -25.72)
CIE-LCHlch(21.17, 31.35, 304.86°)
OKLaboklab(32.77% 0.0332 -0.0725)
OKLCHoklch(32.77% 0.08 294.6)
XYZxyz(4.2975, 3.2897, 9.8578)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B59 #4C592B
analogous
#2B3559 #382B59 #4F2B59
triadic
#382B59 #59382B #2B5938
tetradic
#382B59 #592B35 #4C592B #2B594F
square
#382B59 #592B35 #4C592B #2B594F
split-complementary
#382B59 #594F2B #35592B
monochromatic
#0D0A15 #1E1730 #382B59 #523F82 #6C53AC

Accessibility & contrast

On white

12.67
#382B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#382B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B59
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B59#FFFFFF#000000##FFFFFF
##382B591.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B335B
Deuteranopia (green-blind)
#1D3258
Tritanopia (blue-blind)
#30343D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #382b59;
/* rgb */ color: rgb(56, 43, 89);
/* oklch */ color: oklch(32.8% 0.080 294.6);
Tailwind
colors: {
  custom: {
    50: '#706488',
    500: '#382b59',
    950: '#000000',
  },
}
SCSS
$custom: #382b59;
$custom-light: #706488;
$custom-dark: #000000;
JSON
{
  "hex": "#382b59",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 256.957,
    "s": 34.848,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.07976,
    "h": 294.6
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#382B59
secondary
#7C8B55
accent
#CB5DAC
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#08050B
muted
#7B7A7C

Preview Lab

Preview with #382B59

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

Preview Lab → · Contrast checker → · Palette generator →

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