#381375#381375

#381375 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.151 H 292.4°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#381375
RGBrgb(56, 19, 117)
HSLhsl(263, 72%, 27%)
HSVhsv(263, 84%, 46%)
CMYKcmyk(52.1%, 83.8%, 0%, 54.1%)
CIE-LABlab(18.32, 40.32, -48.64)
CIE-LCHlch(18.32, 63.18, 309.65°)
OKLaboklab(31.44% 0.0576 -0.1397)
OKLCHoklch(31.44% 0.151 292.4)
XYZxyz(5.0737, 2.5907, 17.0589)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381375 #507513
analogous
#131F75 #381375 #691375
triadic
#381375 #753813 #137538
tetradic
#381375 #75131F #507513 #137569
square
#381375 #75131F #507513 #137569
split-complementary
#381375 #756913 #1F7513
monochromatic
#0D041A #1F0A40 #381375 #511CAA #6B27DC

Accessibility & contrast

On white

13.83
#381375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#381375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381375
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381375#FFFFFF#000000##FFFFFF
##3813751.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#243045
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #381375;
/* rgb */ color: rgb(56, 19, 117);
/* oklch */ color: oklch(31.4% 0.151 292.4);
Tailwind
colors: {
  custom: {
    50: '#76569e',
    500: '#381375',
    950: '#000000',
  },
}
SCSS
$custom: #381375;
$custom-light: #76569e;
$custom-dark: #000000;
JSON
{
  "hex": "#381375",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 262.653,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31437,
    "c": 0.15111,
    "h": 292.4
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#381375
secondary
#80AB38
accent
#EF39AA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381375

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

Preview Lab → · Contrast checker → · Palette generator →

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