#381963#381963

#381963 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.123 H 297.8°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#381963
RGBrgb(56, 25, 99)
HSLhsl(265, 60%, 24%)
HSVhsv(265, 75%, 39%)
CMYKcmyk(43.4%, 74.7%, 0%, 61.2%)
CIE-LABlab(17.63, 32.23, -38.04)
CIE-LCHlch(17.63, 49.86, 310.28°)
OKLaboklab(30.42% 0.0572 -0.1087)
OKLCHoklch(30.42% 0.123 297.8)
XYZxyz(4.2301, 2.4368, 12.0494)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381963 #446319
analogous
#191F63 #381963 #5D1963
triadic
#381963 #633819 #196338
tetradic
#381963 #63191F #446319 #19635D
square
#381963 #63191F #446319 #19635D
split-complementary
#381963 #635D19 #1F6319
monochromatic
#0E0618 #1C0D32 #381963 #542594 #6F32C5

Accessibility & contrast

On white

14.12
#381963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#381963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381963
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381963#FFFFFF#000000##FFFFFF
##3819631.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#2D2B3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381963;
/* rgb */ color: rgb(56, 25, 99);
/* oklch */ color: oklch(30.4% 0.123 297.8);
Tailwind
colors: {
  custom: {
    50: '#735890',
    500: '#381963',
    950: '#000000',
  },
}
SCSS
$custom: #381963;
$custom-light: #735890;
$custom-dark: #000000;
JSON
{
  "hex": "#381963",
  "rgb": {
    "r": 56,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 265.135,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30419,
    "c": 0.12281,
    "h": 297.8
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#381963
secondary
#73993F
accent
#E345A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381963

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

Preview Lab → · Contrast checker → · Palette generator →

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