#381E53#381E53

#381E53 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.9% C 0.094 H 303.9°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#381E53
RGBrgb(56, 30, 83)
HSLhsl(269, 47%, 22%)
HSVhsv(269, 64%, 33%)
CMYKcmyk(32.5%, 63.9%, 0%, 67.5%)
CIE-LABlab(17.43, 24.68, -27.67)
CIE-LCHlch(17.43, 37.08, 311.73°)
OKLaboklab(29.87% 0.0525 -0.0782)
OKLCHoklch(29.87% 0.094 303.9)
XYZxyz(3.6561, 2.3938, 8.4514)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381E53 #39531E
analogous
#1E1E53 #381E53 #531E53
triadic
#381E53 #53381E #1E5338
tetradic
#381E53 #531E1E #39531E #1E5353
square
#381E53 #531E1E #39531E #1E5353
split-complementary
#381E53 #53531E #1E531E
monochromatic
#0F0816 #1A0E26 #381E53 #562E80 #753EAD

Accessibility & contrast

On white

14.20
#381E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#381E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381E53
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381E53#FFFFFF#000000##FFFFFF
##381E531.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062A55
Deuteranopia (green-blind)
#122B52
Tritanopia (blue-blind)
#332935
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381e53;
/* rgb */ color: rgb(56, 30, 83);
/* oklch */ color: oklch(29.9% 0.094 303.9);
Tailwind
colors: {
  custom: {
    50: '#715b84',
    500: '#381e53',
    950: '#000000',
  },
}
SCSS
$custom: #381e53;
$custom-light: #715b84;
$custom-dark: #000000;
JSON
{
  "hex": "#381e53",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 269.434,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29871,
    "c": 0.09419,
    "h": 303.9
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#381E53
secondary
#678845
accent
#D75195
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #381E53

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

Preview Lab → · Contrast checker → · Palette generator →

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