#381A61#381A61

#381A61 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.4% C 0.119 H 298.3°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#381A61
RGBrgb(56, 26, 97)
HSLhsl(265, 58%, 24%)
HSVhsv(265, 73%, 38%)
CMYKcmyk(42.3%, 73.2%, 0%, 62%)
CIE-LABlab(17.66, 31.10, -36.67)
CIE-LCHlch(17.66, 48.08, 310.30°)
OKLaboklab(30.38% 0.0565 -0.1046)
OKLCHoklch(30.38% 0.119 298.3)
XYZxyz(4.1574, 2.4425, 11.5594)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381A61 #43611A
analogous
#1A2061 #381A61 #5C1A61
triadic
#381A61 #61381A #1A6138
tetradic
#381A61 #611A20 #43611A #1A615C
square
#381A61 #611A20 #43611A #1A615C
split-complementary
#381A61 #615C1A #20611A
monochromatic
#0E0618 #1C0D31 #381A61 #542791 #7034C2

Accessibility & contrast

On white

14.11
#381A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#381A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381A61
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381A61#FFFFFF#000000##FFFFFF
##381A611.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B63
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#2E2B3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381a61;
/* rgb */ color: rgb(56, 26, 97);
/* oklch */ color: oklch(30.4% 0.119 298.3);
Tailwind
colors: {
  custom: {
    50: '#73598e',
    500: '#381a61',
    950: '#000000',
  },
}
SCSS
$custom: #381a61;
$custom-light: #73598e;
$custom-dark: #000000;
JSON
{
  "hex": "#381a61",
  "rgb": {
    "r": 56,
    "g": 26,
    "b": 97
  },
  "hsl": {
    "h": 265.352,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30384,
    "c": 0.11891,
    "h": 298.3
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#381A61
secondary
#729740
accent
#E147A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381A61

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

Preview Lab → · Contrast checker → · Palette generator →

#381A61 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva