#382A4E#382A4E

#382A4E is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.8% C 0.064 H 300.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#382A4E
RGBrgb(56, 42, 78)
HSLhsl(263, 30%, 24%)
HSVhsv(263, 46%, 31%)
CMYKcmyk(28.2%, 46.2%, 0%, 69.4%)
CIE-LABlab(20.23, 15.31, -19.85)
CIE-LCHlch(20.23, 25.07, 307.64°)
OKLaboklab(31.85% 0.033 -0.0554)
OKLCHoklch(31.85% 0.064 300.7)
XYZxyz(3.8337, 3.0467, 7.5924)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A4E #404E2A
analogous
#2A2E4E #382A4E #4A2A4E
triadic
#382A4E #4E382A #2A4E38
tetradic
#382A4E #4E2A2E #404E2A #2A4E4A
square
#382A4E #4E2A2E #404E2A #2A4E4A
split-complementary
#382A4E #4E4A2A #2E4E2A
monochromatic
#0E0B14 #1B1526 #382A4E #553F76 #71559E

Accessibility & contrast

On white

13.05
#382A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#382A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A4E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A4E#FFFFFF#000000##FFFFFF
##382A4E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20314F
Deuteranopia (green-blind)
#23314D
Tritanopia (blue-blind)
#343038
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #382a4e;
/* rgb */ color: rgb(56, 42, 78);
/* oklch */ color: oklch(31.8% 0.064 300.7);
Tailwind
colors: {
  custom: {
    50: '#6f637f',
    500: '#382a4e',
    950: '#000000',
  },
}
SCSS
$custom: #382a4e;
$custom-light: #6f637f;
$custom-dark: #000000;
JSON
{
  "hex": "#382a4e",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 263.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31848,
    "c": 0.06448,
    "h": 300.7
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#382A4E
secondary
#6F8054
accent
#C6629F
background
#F6F5F7
surface
#ECEAEE
border
#C7C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #382A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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