#382C4E#382C4E

#382C4E is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.3% C 0.061 H 299.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#382C4E
RGBrgb(56, 44, 78)
HSLhsl(261, 28%, 24%)
HSVhsv(261, 44%, 31%)
CMYKcmyk(28.2%, 43.6%, 0%, 69.4%)
CIE-LABlab(20.80, 13.94, -18.96)
CIE-LCHlch(20.80, 23.53, 306.32°)
OKLaboklab(32.28% 0.0296 -0.0528)
OKLCHoklch(32.28% 0.061 299.2)
XYZxyz(3.9064, 3.1922, 7.6166)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C4E #424E2C
analogous
#2C314E #382C4E #492C4E
triadic
#382C4E #4E382C #2C4E38
tetradic
#382C4E #4E2C31 #424E2C #2C4E49
square
#382C4E #4E2C31 #424E2C #2C4E49
split-complementary
#382C4E #4E492C #314E2C
monochromatic
#0E0B14 #1C1627 #382C4E #544275 #70589C

Accessibility & contrast

On white

12.82
#382C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#382C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C4E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C4E#FFFFFF#000000##FFFFFF
##382C4E1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#25324D
Tritanopia (blue-blind)
#343239
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #382c4e;
/* rgb */ color: rgb(56, 44, 78);
/* oklch */ color: oklch(32.3% 0.061 299.2);
Tailwind
colors: {
  custom: {
    50: '#6f657f',
    500: '#382c4e',
    950: '#000000',
  },
}
SCSS
$custom: #382c4e;
$custom-light: #6f657f;
$custom-dark: #000000;
JSON
{
  "hex": "#382c4e",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 261.176,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32278,
    "c": 0.06057,
    "h": 299.2
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#382C4E
secondary
#718056
accent
#C464A2
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #382C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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