#381253#381253

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

Color values

HEX#381253
RGBrgb(56, 18, 83)
HSLhsl(275, 64%, 20%)
HSVhsv(275, 78%, 33%)
CMYKcmyk(32.5%, 78.3%, 0%, 67.5%)
CIE-LABlab(14.94, 31.51, -31.69)
CIE-LCHlch(14.94, 44.69, 314.84°)
OKLaboklab(28.08% 0.0683 -0.0899)
OKLCHoklch(28.08% 0.113 307.2)
XYZxyz(3.4082, 1.8979, 8.3687)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381253 #2D5312
analogous
#181253 #381253 #53124E
triadic
#381253 #533812 #125338
tetradic
#381253 #531812 #2D5312 #124E53
square
#381253 #531812 #2D5312 #124E53
split-complementary
#381253 #4E5312 #125318
monochromatic
#110519 #160721 #381253 #5A1D85 #7C28B8

Accessibility & contrast

On white

15.22
#381253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#381253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381253
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381253#FFFFFF#000000##FFFFFF
##3812531.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002652
Tritanopia (blue-blind)
#342131
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #381253;
/* rgb */ color: rgb(56, 18, 83);
/* oklch */ color: oklch(28.1% 0.113 307.2);
Tailwind
colors: {
  custom: {
    50: '#725484',
    500: '#381253',
    950: '#000000',
  },
}
SCSS
$custom: #381253;
$custom-light: #725484;
$custom-dark: #000000;
JSON
{
  "hex": "#381253",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 275.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28077,
    "c": 0.11295,
    "h": 307.2
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#381253
secondary
#598C35
accent
#E74086
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381253

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

Preview Lab → · Contrast checker → · Palette generator →

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