#382B60#382B60

#382B60 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.3% C 0.091 H 292.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#382B60
RGBrgb(56, 43, 96)
HSLhsl(255, 38%, 27%)
HSVhsv(255, 55%, 38%)
CMYKcmyk(41.7%, 55.2%, 0%, 62.4%)
CIE-LABlab(21.63, 20.10, -29.61)
CIE-LCHlch(21.63, 35.79, 304.17°)
OKLaboklab(33.26% 0.034 -0.0839)
OKLCHoklch(33.26% 0.091 292)
XYZxyz(4.6055, 3.4129, 11.4802)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B60 #53602B
analogous
#2B3960 #382B60 #532B60
triadic
#382B60 #60382B #2B6038
tetradic
#382B60 #602B39 #53602B #2B6053
square
#382B60 #602B39 #53602B #2B6053
split-complementary
#382B60 #60532B #39602B
monochromatic
#0C0915 #1F1836 #382B60 #513E8A #6B53B2

Accessibility & contrast

On white

12.48
#382B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#382B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B60
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B60#FFFFFF#000000##FFFFFF
##382B601.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153562
Deuteranopia (green-blind)
#17335F
Tritanopia (blue-blind)
#2E3641
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #382b60;
/* rgb */ color: rgb(56, 43, 96);
/* oklch */ color: oklch(33.3% 0.091 292.0);
Tailwind
colors: {
  custom: {
    50: '#71648d',
    500: '#382b60',
    950: '#000000',
  },
}
SCSS
$custom: #382b60;
$custom-light: #71648d;
$custom-dark: #000000;
JSON
{
  "hex": "#382b60",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 254.717,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33261,
    "c": 0.09053,
    "h": 292
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#382B60
secondary
#839255
accent
#CE5AB2
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08050C
muted
#7B7A7D

Preview Lab

Preview with #382B60

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

Preview Lab → · Contrast checker → · Palette generator →

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