#381760#381760

#381760 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.122 H 299.6°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#381760
RGBrgb(56, 23, 96)
HSLhsl(267, 61%, 23%)
HSVhsv(267, 76%, 38%)
CMYKcmyk(41.7%, 76%, 0%, 62.4%)
CIE-LABlab(16.98, 32.46, -37.11)
CIE-LCHlch(16.98, 49.30, 311.18°)
OKLaboklab(29.87% 0.0601 -0.1059)
OKLCHoklch(29.87% 0.122 299.6)
XYZxyz(4.0481, 2.2980, 11.2944)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381760 #3F6017
analogous
#171A60 #381760 #5C1760
triadic
#381760 #603817 #176038
tetradic
#381760 #60171A #3F6017 #17605C
square
#381760 #60171A #3F6017 #17605C
split-complementary
#381760 #605C17 #1A6017
monochromatic
#0E0619 #1B0B2F #381760 #552391 #722FC3

Accessibility & contrast

On white

14.39
#381760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#381760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381760
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381760#FFFFFF#000000##FFFFFF
##3817601.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#2F293A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381760;
/* rgb */ color: rgb(56, 23, 96);
/* oklch */ color: oklch(29.9% 0.122 299.6);
Tailwind
colors: {
  custom: {
    50: '#73578e',
    500: '#381760',
    950: '#000000',
  },
}
SCSS
$custom: #381760;
$custom-light: #73578e;
$custom-dark: #000000;
JSON
{
  "hex": "#381760",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 267.123,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29874,
    "c": 0.12176,
    "h": 299.6
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#381760
secondary
#6E973C
accent
#E4439C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381760

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

Preview Lab → · Contrast checker → · Palette generator →

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