#381352#381352

#381352 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.110 H 307.6°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#381352
RGBrgb(56, 19, 82)
HSLhsl(275, 62%, 20%)
HSVhsv(275, 77%, 32%)
CMYKcmyk(31.7%, 76.8%, 0%, 67.8%)
CIE-LABlab(15.04, 30.74, -30.85)
CIE-LCHlch(15.04, 43.55, 314.90°)
OKLaboklab(28.12% 0.0673 -0.0875)
OKLCHoklch(28.12% 0.11 307.6)
XYZxyz(3.3864, 1.9157, 8.1724)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381352 #2D5213
analogous
#191352 #381352 #52134D
triadic
#381352 #523813 #135238
tetradic
#381352 #521913 #2D5213 #134D52
square
#381352 #521913 #2D5213 #134D52
split-complementary
#381352 #4D5213 #135219
monochromatic
#110619 #160720 #381352 #5A1F84 #7C2AB5

Accessibility & contrast

On white

15.18
#381352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#381352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381352
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381352#FFFFFF#000000##FFFFFF
##3813521.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#032651
Tritanopia (blue-blind)
#342131
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #381352;
/* rgb */ color: rgb(56, 19, 82);
/* oklch */ color: oklch(28.1% 0.110 307.6);
Tailwind
colors: {
  custom: {
    50: '#725483',
    500: '#381352',
    950: '#000000',
  },
}
SCSS
$custom: #381352;
$custom-light: #725483;
$custom-dark: #000000;
JSON
{
  "hex": "#381352",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 275.238,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28119,
    "c": 0.11039,
    "h": 307.6
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#381352
secondary
#598A36
accent
#E54286
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381352

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

Preview Lab → · Contrast checker → · Palette generator →

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