#382452#382452

#382452 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.9% C 0.082 H 301.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#382452
RGBrgb(56, 36, 82)
HSLhsl(266, 39%, 23%)
HSVhsv(266, 56%, 32%)
CMYKcmyk(31.7%, 56.1%, 0%, 67.8%)
CIE-LABlab(18.85, 20.52, -24.73)
CIE-LCHlch(18.85, 32.14, 309.68°)
OKLaboklab(30.89% 0.0433 -0.0696)
OKLCHoklch(30.89% 0.082 301.9)
XYZxyz(3.7844, 2.7117, 8.3050)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382452 #3E5224
analogous
#242752 #382452 #4F2452
triadic
#382452 #523824 #245238
tetradic
#382452 #522427 #3E5224 #24524F
square
#382452 #522427 #3E5224 #24524F
split-complementary
#382452 #524F24 #275224
monochromatic
#0F0915 #1B1127 #382452 #55377D #7249A7

Accessibility & contrast

On white

13.62
#382452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#382452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382452
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382452#FFFFFF#000000##FFFFFF
##3824521.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152D54
Deuteranopia (green-blind)
#1A2E51
Tritanopia (blue-blind)
#332D37
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #382452;
/* rgb */ color: rgb(56, 36, 82);
/* oklch */ color: oklch(30.9% 0.082 301.9);
Tailwind
colors: {
  custom: {
    50: '#705f83',
    500: '#382452',
    950: '#000000',
  },
}
SCSS
$custom: #382452;
$custom-light: #705f83;
$custom-dark: #000000;
JSON
{
  "hex": "#382452",
  "rgb": {
    "r": 56,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 266.087,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30894,
    "c": 0.08199,
    "h": 301.9
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#382452
secondary
#6D864C
accent
#CF599C
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040A
muted
#7B797C

Preview Lab

Preview with #382452

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

Preview Lab → · Contrast checker → · Palette generator →

#382452 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva