#381059#381059

#381059 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.122 H 304.4°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#381059
RGBrgb(56, 16, 89)
HSLhsl(273, 70%, 21%)
HSVhsv(273, 82%, 35%)
CMYKcmyk(37.1%, 82%, 0%, 65.1%)
CIE-LABlab(15.13, 34.03, -35.44)
CIE-LCHlch(15.13, 49.13, 313.84°)
OKLaboklab(28.37% 0.0691 -0.101)
OKLCHoklch(28.37% 0.122 304.4)
XYZxyz(3.6189, 1.9326, 9.6316)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381059 #315910
analogous
#141059 #381059 #591055
triadic
#381059 #593810 #105938
tetradic
#381059 #591410 #315910 #105559
square
#381059 #591410 #315910 #105559
split-complementary
#381059 #555910 #105914
monochromatic
#10051A #170725 #381059 #59198D #7923C1

Accessibility & contrast

On white

15.14
#381059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#381059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381059
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381059#FFFFFF#000000##FFFFFF
##3810591.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#322334
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #381059;
/* rgb */ color: rgb(56, 16, 89);
/* oklch */ color: oklch(28.4% 0.122 304.4);
Tailwind
colors: {
  custom: {
    50: '#735388',
    500: '#381059',
    950: '#000000',
  },
}
SCSS
$custom: #381059;
$custom-light: #735388;
$custom-dark: #000000;
JSON
{
  "hex": "#381059",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 272.877,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28373,
    "c": 0.12236,
    "h": 304.4
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#381059
secondary
#5E9233
accent
#EC3B8B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381059

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

Preview Lab → · Contrast checker → · Palette generator →

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