#381867#381867

#381867 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.129 H 296.4°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#381867
RGBrgb(56, 24, 103)
HSLhsl(264, 62%, 25%)
HSVhsv(264, 77%, 40%)
CMYKcmyk(45.6%, 76.7%, 0%, 59.6%)
CIE-LABlab(17.80, 33.92, -40.40)
CIE-LCHlch(17.80, 52.75, 310.02°)
OKLaboklab(30.65% 0.0574 -0.1156)
OKLCHoklch(30.65% 0.129 296.4)
XYZxyz(4.4051, 2.4732, 13.0746)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381867 #476718
analogous
#181F67 #381867 #601867
triadic
#381867 #673818 #186738
tetradic
#381867 #67181F #476718 #186760
square
#381867 #67181F #476718 #186760
split-complementary
#381867 #676018 #1F6718
monochromatic
#0D0619 #1D0C35 #381867 #532499 #6E2FCA

Accessibility & contrast

On white

14.05
#381867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381867
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381867#FFFFFF#000000##FFFFFF
##3818671.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#2C2C3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381867;
/* rgb */ color: rgb(56, 24, 103);
/* oklch */ color: oklch(30.6% 0.129 296.4);
Tailwind
colors: {
  custom: {
    50: '#745893',
    500: '#381867',
    950: '#000000',
  },
}
SCSS
$custom: #381867;
$custom-light: #745893;
$custom-dark: #000000;
JSON
{
  "hex": "#381867",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 264.304,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30649,
    "c": 0.12907,
    "h": 296.4
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#381867
secondary
#769D3E
accent
#E543A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381867

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

Preview Lab → · Contrast checker → · Palette generator →

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