#381553#381553

#381553 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.109 H 306.5°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#381553
RGBrgb(56, 21, 83)
HSLhsl(274, 60%, 20%)
HSVhsv(274, 75%, 33%)
CMYKcmyk(32.5%, 74.7%, 0%, 67.5%)
CIE-LABlab(15.50, 29.95, -30.79)
CIE-LCHlch(15.50, 42.95, 314.21°)
OKLaboklab(28.47% 0.0647 -0.0873)
OKLCHoklch(28.47% 0.109 306.5)
XYZxyz(3.4600, 2.0017, 8.3860)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381553 #305315
analogous
#191553 #381553 #53154F
triadic
#381553 #533815 #155338
tetradic
#381553 #531915 #305315 #154F53
square
#381553 #531915 #305315 #154F53
split-complementary
#381553 #4F5315 #155319
monochromatic
#100618 #170922 #381553 #592184 #7A2EB5

Accessibility & contrast

On white

15.00
#381553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#381553 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381553
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381553#FFFFFF#000000##FFFFFF
##3815531.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#042752
Tritanopia (blue-blind)
#332332
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #381553;
/* rgb */ color: rgb(56, 21, 83);
/* oklch */ color: oklch(28.5% 0.109 306.5);
Tailwind
colors: {
  custom: {
    50: '#725584',
    500: '#381553',
    950: '#000000',
  },
}
SCSS
$custom: #381553;
$custom-light: #725584;
$custom-dark: #000000;
JSON
{
  "hex": "#381553",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 273.871,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28471,
    "c": 0.1087,
    "h": 306.5
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

primary
#381553
secondary
#5D8B39
accent
#E3458A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381553

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

Preview Lab → · Contrast checker → · Palette generator →

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