#381050#381050

#381050 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.112 H 309.4°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#381050
RGBrgb(56, 16, 80)
HSLhsl(278, 67%, 19%)
HSVhsv(278, 80%, 31%)
CMYKcmyk(30%, 80%, 0%, 68.6%)
CIE-LABlab(14.35, 31.71, -30.60)
CIE-LCHlch(14.35, 44.07, 316.02°)
OKLaboklab(27.58% 0.0712 -0.0867)
OKLCHoklch(27.58% 0.112 309.4)
XYZxyz(3.2639, 1.7906, 7.7615)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381050 #285010
analogous
#181050 #381050 #501048
triadic
#381050 #503810 #105038
tetradic
#381050 #501810 #285010 #104850
square
#381050 #501810 #285010 #104850
split-complementary
#381050 #485010 #105018
monochromatic
#12051A #14061D #381050 #5C1A83 #7F24B6

Accessibility & contrast

On white

15.46
#381050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#381050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381050
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381050#FFFFFF#000000##FFFFFF
##3810501.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#02254F
Tritanopia (blue-blind)
#341F2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #381050;
/* rgb */ color: rgb(56, 16, 80);
/* oklch */ color: oklch(27.6% 0.112 309.4);
Tailwind
colors: {
  custom: {
    50: '#725382',
    500: '#381050',
    950: '#000000',
  },
}
SCSS
$custom: #381050;
$custom-light: #725382;
$custom-dark: #000000;
JSON
{
  "hex": "#381050",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 277.5,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27576,
    "c": 0.11219,
    "h": 309.4
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#381050
secondary
#538A32
accent
#EA3E7E
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #381050

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

Preview Lab → · Contrast checker → · Palette generator →

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