#381D53#381D53

#381D53 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.096 H 304.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#381D53
RGBrgb(56, 29, 83)
HSLhsl(270, 48%, 22%)
HSVhsv(270, 65%, 33%)
CMYKcmyk(32.5%, 65.1%, 0%, 67.5%)
CIE-LABlab(17.20, 25.31, -28.05)
CIE-LCHlch(17.20, 37.78, 312.06°)
OKLaboklab(29.7% 0.0539 -0.0793)
OKLCHoklch(29.7% 0.096 304.2)
XYZxyz(3.6312, 2.3440, 8.4431)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381D53 #38531D
analogous
#1D1D53 #381D53 #531D53
triadic
#381D53 #53381D #1D5338
tetradic
#381D53 #531D1D #38531D #1D5353
square
#381D53 #531D1D #38531D #1D5353
split-complementary
#381D53 #53531D #1D531D
monochromatic
#0F0817 #190D26 #381D53 #572D80 #753DAE

Accessibility & contrast

On white

14.30
#381D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#381D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381D53
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381D53#FFFFFF#000000##FFFFFF
##381D531.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042A55
Deuteranopia (green-blind)
#102A52
Tritanopia (blue-blind)
#332835
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381d53;
/* rgb */ color: rgb(56, 29, 83);
/* oklch */ color: oklch(29.7% 0.096 304.2);
Tailwind
colors: {
  custom: {
    50: '#715a84',
    500: '#381d53',
    950: '#000000',
  },
}
SCSS
$custom: #381d53;
$custom-light: #715a84;
$custom-dark: #000000;
JSON
{
  "hex": "#381d53",
  "rgb": {
    "r": 56,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 270,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.297,
    "c": 0.0959,
    "h": 304.2
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#381D53
secondary
#668844
accent
#D85094
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #381D53

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

Preview Lab → · Contrast checker → · Palette generator →

#381D53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva