#381749#381749

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

Color values

HEX#381749
RGBrgb(56, 23, 73)
HSLhsl(280, 52%, 19%)
HSVhsv(280, 68%, 29%)
CMYKcmyk(23.3%, 68.5%, 0%, 71.4%)
CIE-LABlab(15.14, 26.20, -24.51)
CIE-LCHlch(15.14, 35.88, 316.91°)
OKLaboklab(27.97% 0.0628 -0.0689)
OKLCHoklch(27.97% 0.093 312.3)
XYZxyz(3.1397, 1.9347, 6.5101)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381749 #284917
analogous
#1F1749 #381749 #491741
triadic
#381749 #493817 #174938
tetradic
#381749 #491F17 #284917 #174149
square
#381749 #491F17 #284917 #174149
split-complementary
#381749 #414917 #17491F
monochromatic
#120717 #14081A #381749 #5C2678 #7F34A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##381749#FFFFFF#000000##FFFFFF
##3817491.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)
#05244B
Deuteranopia (green-blind)
#132748
Tritanopia (blue-blind)
#36202D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #381749;
/* rgb */ color: rgb(56, 23, 73);
/* oklch */ color: oklch(28.0% 0.093 312.3);
Tailwind
colors: {
  custom: {
    50: '#71567c',
    500: '#381749',
    950: '#000000',
  },
}
SCSS
$custom: #381749;
$custom-light: #71567c;
$custom-dark: #000000;
JSON
{
  "hex": "#381749",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 279.6,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27972,
    "c": 0.09325,
    "h": 312.3
  },
  "luminance": 0.01935
}

Semantic roles & 50–950 ramp

primary
#381749
secondary
#53803C
accent
#DC4C7D
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #381749

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

Preview Lab → · Contrast checker → · Palette generator →

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