#381665#381665

#381665 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.129 H 297.7°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#381665
RGBrgb(56, 22, 101)
HSLhsl(266, 64%, 24%)
HSVhsv(266, 78%, 40%)
CMYKcmyk(44.6%, 78.2%, 0%, 60.4%)
CIE-LABlab(17.25, 34.39, -39.98)
CIE-LCHlch(17.25, 52.74, 310.70°)
OKLaboklab(30.2% 0.06 -0.1144)
OKLCHoklch(30.2% 0.129 297.7)
XYZxyz(4.2662, 2.3541, 12.5390)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381665 #436516
analogous
#161B65 #381665 #601665
triadic
#381665 #653816 #166538
tetradic
#381665 #65161B #436516 #166560
square
#381665 #65161B #436516 #166560
split-complementary
#381665 #656016 #1B6516
monochromatic
#0E0519 #1C0B33 #381665 #542197 #702CCA

Accessibility & contrast

On white

14.28
#381665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#381665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381665
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381665#FFFFFF#000000##FFFFFF
##3816651.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#2D2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381665;
/* rgb */ color: rgb(56, 22, 101);
/* oklch */ color: oklch(30.2% 0.129 297.7);
Tailwind
colors: {
  custom: {
    50: '#745792',
    500: '#381665',
    950: '#000000',
  },
}
SCSS
$custom: #381665;
$custom-light: #745792;
$custom-dark: #000000;
JSON
{
  "hex": "#381665",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 265.823,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30202,
    "c": 0.12912,
    "h": 297.7
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#381665
secondary
#729C3B
accent
#E741A0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381665

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

Preview Lab → · Contrast checker → · Palette generator →

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