#381045#381045

#381045 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.100 H 316.7°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#381045
RGBrgb(56, 16, 69)
HSLhsl(285, 62%, 17%)
HSVhsv(285, 77%, 27%)
CMYKcmyk(18.8%, 76.8%, 0%, 72.9%)
CIE-LABlab(13.48, 29.00, -24.40)
CIE-LCHlch(13.48, 37.90, 319.92°)
OKLaboklab(26.68% 0.0726 -0.0685)
OKLCHoklch(26.68% 0.1 316.7)
XYZxyz(2.8902, 1.6411, 5.7936)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381045 #1D4510
analogous
#1E1045 #381045 #451038
triadic
#381045 #453810 #104538
tetradic
#381045 #451E10 #1D4510 #103845
square
#381045 #451E10 #1D4510 #103845
split-complementary
#381045 #384510 #10451E
monochromatic
#140619 #140619 #381045 #601C77 #8927A8

Accessibility & contrast

On white

15.81
#381045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#381045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381045
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381045#FFFFFF#000000##FFFFFF
##3810451.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#112444
Tritanopia (blue-blind)
#371A29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #381045;
/* rgb */ color: rgb(56, 16, 69);
/* oklch */ color: oklch(26.7% 0.100 316.7);
Tailwind
colors: {
  custom: {
    50: '#715279',
    500: '#381045',
    950: '#000000',
  },
}
SCSS
$custom: #381045;
$custom-light: #715279;
$custom-dark: #000000;
JSON
{
  "hex": "#381045",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 285.283,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26681,
    "c": 0.09987,
    "h": 316.7
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#381045
secondary
#457F32
accent
#E5426A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #381045

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

Preview Lab → · Contrast checker → · Palette generator →

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