#381454#381454

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

Color values

HEX#381454
RGBrgb(56, 20, 84)
HSLhsl(274, 62%, 20%)
HSVhsv(274, 76%, 33%)
CMYKcmyk(33.3%, 76.2%, 0%, 67.1%)
CIE-LABlab(15.39, 30.75, -31.64)
CIE-LCHlch(15.39, 44.12, 314.18°)
OKLaboklab(28.42% 0.0658 -0.0898)
OKLCHoklch(28.42% 0.111 306.2)
XYZxyz(3.4809, 1.9812, 8.5848)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381454 #305414
analogous
#181454 #381454 #541450
triadic
#381454 #543814 #145438
tetradic
#381454 #541814 #305414 #145054
square
#381454 #541814 #305414 #145054
split-complementary
#381454 #505414 #145418
monochromatic
#100619 #170823 #381454 #592085 #7A2CB7

Accessibility & contrast

On white

15.04
#381454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381454
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381454#FFFFFF#000000##FFFFFF
##3814541.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381454;
/* rgb */ color: rgb(56, 20, 84);
/* oklch */ color: oklch(28.4% 0.111 306.2);
Tailwind
colors: {
  custom: {
    50: '#725585',
    500: '#381454',
    950: '#000000',
  },
}
SCSS
$custom: #381454;
$custom-light: #725585;
$custom-dark: #000000;
JSON
{
  "hex": "#381454",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 84
  },
  "hsl": {
    "h": 273.75,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2842,
    "c": 0.11135,
    "h": 306.2
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#381454
secondary
#5D8C38
accent
#E5438A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381454

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

Preview Lab → · Contrast checker → · Palette generator →

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