#381153#381153

#381153 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.114 H 307.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#381153
RGBrgb(56, 17, 83)
HSLhsl(275, 66%, 20%)
HSVhsv(275, 80%, 33%)
CMYKcmyk(32.5%, 79.5%, 0%, 67.5%)
CIE-LABlab(14.77, 32.00, -31.97)
CIE-LCHlch(14.77, 45.23, 315.03°)
OKLaboklab(27.95% 0.0695 -0.0908)
OKLCHoklch(27.95% 0.114 307.4)
XYZxyz(3.3923, 1.8662, 8.3634)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381153 #2C5311
analogous
#171153 #381153 #53114D
triadic
#381153 #533811 #115338
tetradic
#381153 #531711 #2C5311 #114D53
square
#381153 #531711 #2C5311 #114D53
split-complementary
#381153 #4D5311 #115317
monochromatic
#110519 #160720 #381153 #5A1B86 #7D26B9

Accessibility & contrast

On white

15.29
#381153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#381153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381153
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381153#FFFFFF#000000##FFFFFF
##3811531.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002652
Tritanopia (blue-blind)
#342131
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #381153;
/* rgb */ color: rgb(56, 17, 83);
/* oklch */ color: oklch(28.0% 0.114 307.4);
Tailwind
colors: {
  custom: {
    50: '#725384',
    500: '#381153',
    950: '#000000',
  },
}
SCSS
$custom: #381153;
$custom-light: #725384;
$custom-dark: #000000;
JSON
{
  "hex": "#381153",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 275.455,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27954,
    "c": 0.11428,
    "h": 307.4
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#381153
secondary
#588C34
accent
#E93F84
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381153

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

Preview Lab → · Contrast checker → · Palette generator →

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