#381055#381055

#381055 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.118 H 306.5°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#381055
RGBrgb(56, 16, 85)
HSLhsl(275, 68%, 20%)
HSVhsv(275, 81%, 33%)
CMYKcmyk(34.1%, 81.2%, 0%, 66.7%)
CIE-LABlab(14.77, 32.99, -33.32)
CIE-LCHlch(14.77, 46.89, 314.72°)
OKLaboklab(28.01% 0.0701 -0.0947)
OKLCHoklch(28.01% 0.118 306.5)
XYZxyz(3.4555, 1.8672, 8.7709)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381055 #2D5510
analogous
#161055 #381055 #55104F
triadic
#381055 #553810 #105538
tetradic
#381055 #551610 #2D5510 #104F55
square
#381055 #551610 #2D5510 #104F55
split-complementary
#381055 #4F5510 #105516
monochromatic
#11051A #160621 #381055 #5A1A89 #7C23BC

Accessibility & contrast

On white

15.29
#381055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#381055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381055
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381055#FFFFFF#000000##FFFFFF
##3810551.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#332132
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #381055;
/* rgb */ color: rgb(56, 16, 85);
/* oklch */ color: oklch(28.0% 0.118 306.5);
Tailwind
colors: {
  custom: {
    50: '#725385',
    500: '#381055',
    950: '#000000',
  },
}
SCSS
$custom: #381055;
$custom-light: #725385;
$custom-dark: #000000;
JSON
{
  "hex": "#381055",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 274.783,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28012,
    "c": 0.11784,
    "h": 306.5
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#381055
secondary
#598F32
accent
#EB3D86
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381055

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

Preview Lab → · Contrast checker → · Palette generator →

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