#381645#381645

#381645 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.090 H 315.5°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#381645
RGBrgb(56, 22, 69)
HSLhsl(283, 52%, 18%)
HSVhsv(283, 68%, 27%)
CMYKcmyk(18.8%, 68.1%, 0%, 72.9%)
CIE-LABlab(14.65, 25.77, -22.53)
CIE-LCHlch(14.65, 34.23, 318.84°)
OKLaboklab(27.53% 0.0643 -0.0631)
OKLCHoklch(27.53% 0.09 315.5)
XYZxyz(2.9918, 1.8443, 5.8275)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381645 #234516
analogous
#201645 #381645 #45163A
triadic
#381645 #453816 #164538
tetradic
#381645 #452016 #234516 #163A45
square
#381645 #452016 #234516 #163A45
split-complementary
#381645 #3A4516 #164520
monochromatic
#130717 #130717 #381645 #5E2573 #8334A2

Accessibility & contrast

On white

15.34
#381645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#381645 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381645
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381645#FFFFFF#000000##FFFFFF
##3816451.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072346
Deuteranopia (green-blind)
#162644
Tritanopia (blue-blind)
#371E2B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #381645;
/* rgb */ color: rgb(56, 22, 69);
/* oklch */ color: oklch(27.5% 0.090 315.5);
Tailwind
colors: {
  custom: {
    50: '#705579',
    500: '#381645',
    950: '#000000',
  },
}
SCSS
$custom: #381645;
$custom-light: #705579;
$custom-dark: #000000;
JSON
{
  "hex": "#381645",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 283.404,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27525,
    "c": 0.09009,
    "h": 315.5
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#381645
secondary
#4D7C3A
accent
#DB4D74
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #381645

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

Preview Lab → · Contrast checker → · Palette generator →

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