#381355#381355

#381355 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.114 H 305.9°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#381355
RGBrgb(56, 19, 85)
HSLhsl(274, 63%, 20%)
HSVhsv(274, 78%, 33%)
CMYKcmyk(34.1%, 77.6%, 0%, 66.7%)
CIE-LABlab(15.29, 31.53, -32.48)
CIE-LCHlch(15.29, 45.27, 314.15°)
OKLaboklab(28.38% 0.0668 -0.0923)
OKLCHoklch(28.38% 0.114 305.9)
XYZxyz(3.5031, 1.9624, 8.7868)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381355 #305513
analogous
#171355 #381355 #551351
triadic
#381355 #553813 #135538
tetradic
#381355 #551713 #305513 #135155
square
#381355 #551713 #305513 #135155
split-complementary
#381355 #515513 #135517
monochromatic
#100619 #170823 #381355 #591E87 #7A29B9

Accessibility & contrast

On white

15.08
#381355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#381355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381355
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381355#FFFFFF#000000##FFFFFF
##3813551.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#002654
Tritanopia (blue-blind)
#332232
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #381355;
/* rgb */ color: rgb(56, 19, 85);
/* oklch */ color: oklch(28.4% 0.114 305.9);
Tailwind
colors: {
  custom: {
    50: '#725485',
    500: '#381355',
    950: '#000000',
  },
}
SCSS
$custom: #381355;
$custom-light: #725485;
$custom-dark: #000000;
JSON
{
  "hex": "#381355",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 273.636,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28376,
    "c": 0.11392,
    "h": 305.9
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#381355
secondary
#5D8D36
accent
#E6418A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381355

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

Preview Lab → · Contrast checker → · Palette generator →

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