#381046#381046

#381046 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.101 H 315.9°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#381046
RGBrgb(56, 16, 70)
HSLhsl(284, 63%, 17%)
HSVhsv(284, 77%, 27%)
CMYKcmyk(20%, 77.1%, 0%, 72.5%)
CIE-LABlab(13.55, 29.24, -24.98)
CIE-LCHlch(13.55, 38.46, 319.50°)
OKLaboklab(26.76% 0.0726 -0.0702)
OKLCHoklch(26.76% 0.101 315.9)
XYZxyz(2.9215, 1.6536, 5.9585)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381046 #1E4610
analogous
#1D1046 #381046 #461039
triadic
#381046 #463810 #104638
tetradic
#381046 #461D10 #1E4610 #103946
square
#381046 #461D10 #1E4610 #103946
split-complementary
#381046 #394610 #10461D
monochromatic
#140619 #140619 #381046 #601B78 #8827AA

Accessibility & contrast

On white

15.78
#381046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381046
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381046#FFFFFF#000000##FFFFFF
##3810461.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#102445
Tritanopia (blue-blind)
#371B29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #381046;
/* rgb */ color: rgb(56, 16, 70);
/* oklch */ color: oklch(26.8% 0.101 315.9);
Tailwind
colors: {
  custom: {
    50: '#71527a',
    500: '#381046',
    950: '#000000',
  },
}
SCSS
$custom: #381046;
$custom-light: #71527a;
$custom-dark: #000000;
JSON
{
  "hex": "#381046",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 284.444,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26758,
    "c": 0.10098,
    "h": 315.9
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#381046
secondary
#468032
accent
#E6426C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #381046

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

Preview Lab → · Contrast checker → · Palette generator →

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