#381361#381361

#381361 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.128 H 300.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#381361
RGBrgb(56, 19, 97)
HSLhsl(268, 67%, 23%)
HSVhsv(268, 80%, 38%)
CMYKcmyk(42.3%, 80.4%, 0%, 62%)
CIE-LABlab(16.35, 34.77, -38.80)
CIE-LCHlch(16.35, 52.10, 311.87°)
OKLaboklab(29.46% 0.064 -0.1108)
OKLCHoklch(29.46% 0.128 300)
XYZxyz(4.0209, 2.1695, 11.5139)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381361 #3C6113
analogous
#131561 #381361 #5F1361
triadic
#381361 #613813 #136138
tetradic
#381361 #611315 #3C6113 #13615F
square
#381361 #611315 #3C6113 #13615F
split-complementary
#381361 #615F13 #156113
monochromatic
#0F051A #1A092E #381361 #561D94 #7327C7

Accessibility & contrast

On white

14.64
#381361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#381361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381361
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381361#FFFFFF#000000##FFFFFF
##3813611.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#2E2739
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #381361;
/* rgb */ color: rgb(56, 19, 97);
/* oklch */ color: oklch(29.5% 0.128 300.0);
Tailwind
colors: {
  custom: {
    50: '#73558f',
    500: '#381361',
    950: '#000000',
  },
}
SCSS
$custom: #381361;
$custom-light: #73558f;
$custom-dark: #000000;
JSON
{
  "hex": "#381361",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 268.462,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.12799,
    "h": 300
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#381361
secondary
#6A9937
accent
#EA3E98
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381361

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

Preview Lab → · Contrast checker → · Palette generator →

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