#381041#381041

#381041 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.095 H 319.7°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#381041
RGBrgb(56, 16, 65)
HSLhsl(289, 60%, 16%)
HSVhsv(289, 75%, 25%)
CMYKcmyk(13.8%, 75.4%, 0%, 74.5%)
CIE-LABlab(13.19, 28.06, -22.06)
CIE-LCHlch(13.19, 35.69, 321.83°)
OKLaboklab(26.38% 0.0729 -0.0617)
OKLCHoklch(26.38% 0.095 319.7)
XYZxyz(2.7702, 1.5931, 5.1616)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381041 #194110
analogous
#1F1041 #381041 #411031
triadic
#381041 #413810 #104138
tetradic
#381041 #411F10 #194110 #103141
square
#381041 #411F10 #194110 #103141
split-complementary
#381041 #314110 #10411F
monochromatic
#150619 #150619 #381041 #621C72 #8D28A3

Accessibility & contrast

On white

15.93
#381041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#381041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381041
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381041#FFFFFF#000000##FFFFFF
##3810411.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F42
Deuteranopia (green-blind)
#142340
Tritanopia (blue-blind)
#381927
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #381041;
/* rgb */ color: rgb(56, 16, 65);
/* oklch */ color: oklch(26.4% 0.095 319.7);
Tailwind
colors: {
  custom: {
    50: '#715276',
    500: '#381041',
    950: '#000000',
  },
}
SCSS
$custom: #381041;
$custom-light: #715276;
$custom-dark: #000000;
JSON
{
  "hex": "#381041",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 288.98,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26379,
    "c": 0.09546,
    "h": 319.7
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#381041
secondary
#3F7B32
accent
#E44461
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #381041

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

Preview Lab → · Contrast checker → · Palette generator →

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