#381763#381763

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

Color values

HEX#381763
RGBrgb(56, 23, 99)
HSLhsl(266, 62%, 24%)
HSVhsv(266, 77%, 39%)
CMYKcmyk(43.4%, 76.8%, 0%, 61.2%)
CIE-LABlab(17.25, 33.31, -38.66)
CIE-LCHlch(17.25, 51.03, 310.75°)
OKLaboklab(30.15% 0.0594 -0.1105)
OKLCHoklch(30.15% 0.125 298.3)
XYZxyz(4.1888, 2.3543, 12.0357)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381763 #426317
analogous
#171C63 #381763 #5E1763
triadic
#381763 #633817 #176338
tetradic
#381763 #63171C #426317 #17635E
square
#381763 #63171C #426317 #17635E
split-complementary
#381763 #635E17 #1C6317
monochromatic
#0E0619 #1C0B31 #381763 #542395 #702EC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##381763#FFFFFF#000000##FFFFFF
##3817631.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)
#002A65
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#2D2A3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381763;
/* rgb */ color: rgb(56, 23, 99);
/* oklch */ color: oklch(30.1% 0.125 298.3);
Tailwind
colors: {
  custom: {
    50: '#735790',
    500: '#381763',
    950: '#000000',
  },
}
SCSS
$custom: #381763;
$custom-light: #735790;
$custom-dark: #000000;
JSON
{
  "hex": "#381763",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 266.053,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30147,
    "c": 0.12544,
    "h": 298.3
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#381763
secondary
#719A3C
accent
#E5429F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #381763

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

Preview Lab → · Contrast checker → · Palette generator →

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