#381653#381653

#381653 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.107 H 306.3°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#381653
RGBrgb(56, 22, 83)
HSLhsl(273, 58%, 21%)
HSVhsv(273, 73%, 33%)
CMYKcmyk(32.5%, 73.5%, 0%, 67.5%)
CIE-LABlab(15.69, 29.41, -30.47)
CIE-LCHlch(15.69, 42.35, 313.98°)
OKLaboklab(28.61% 0.0635 -0.0864)
OKLCHoklch(28.61% 0.107 306.3)
XYZxyz(3.4788, 2.0391, 8.3923)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381653 #315316
analogous
#1A1653 #381653 #53164F
triadic
#381653 #533816 #165338
tetradic
#381653 #531A16 #315316 #164F53
square
#381653 #531A16 #315316 #164F53
split-complementary
#381653 #4F5316 #16531A
monochromatic
#100618 #170923 #381653 #592383 #7930B4

Accessibility & contrast

On white

14.92
#381653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#381653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381653
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381653#FFFFFF#000000##FFFFFF
##3816531.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#062752
Tritanopia (blue-blind)
#332332
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #381653;
/* rgb */ color: rgb(56, 22, 83);
/* oklch */ color: oklch(28.6% 0.107 306.3);
Tailwind
colors: {
  custom: {
    50: '#715684',
    500: '#381653',
    950: '#000000',
  },
}
SCSS
$custom: #381653;
$custom-light: #715684;
$custom-dark: #000000;
JSON
{
  "hex": "#381653",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 273.443,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28611,
    "c": 0.10722,
    "h": 306.3
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

primary
#381653
secondary
#5E8A3A
accent
#E1468B
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381653

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

Preview Lab → · Contrast checker → · Palette generator →

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