#381354#381354

#381354 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.3% C 0.113 H 306.4°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#381354
RGBrgb(56, 19, 84)
HSLhsl(274, 63%, 20%)
HSVhsv(274, 77%, 33%)
CMYKcmyk(33.3%, 77.4%, 0%, 67.1%)
CIE-LABlab(15.20, 31.27, -31.94)
CIE-LCHlch(15.20, 44.70, 314.39°)
OKLaboklab(28.29% 0.067 -0.0907)
OKLCHoklch(28.29% 0.113 306.4)
XYZxyz(3.4636, 1.9466, 8.5791)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381354 #2F5413
analogous
#171354 #381354 #54134F
triadic
#381354 #543813 #135438
tetradic
#381354 #541713 #2F5413 #134F54
square
#381354 #541713 #2F5413 #134F54
split-complementary
#381354 #4F5413 #135417
monochromatic
#110619 #170822 #381354 #591E86 #7B2AB8

Accessibility & contrast

On white

15.11
#381354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381354
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381354#FFFFFF#000000##FFFFFF
##3813541.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381354;
/* rgb */ color: rgb(56, 19, 84);
/* oklch */ color: oklch(28.3% 0.113 306.4);
Tailwind
colors: {
  custom: {
    50: '#725485',
    500: '#381354',
    950: '#000000',
  },
}
SCSS
$custom: #381354;
$custom-light: #725485;
$custom-dark: #000000;
JSON
{
  "hex": "#381354",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 274.154,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.28289,
    "c": 0.11274,
    "h": 306.4
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#381354
secondary
#5B8C36
accent
#E64289
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381354

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

Preview Lab → · Contrast checker → · Palette generator →

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