#381875#381875

#381875 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.146 H 291.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#381875
RGBrgb(56, 24, 117)
HSLhsl(261, 66%, 28%)
HSVhsv(261, 79%, 46%)
CMYKcmyk(52.1%, 79.5%, 0%, 54.1%)
CIE-LABlab(19.13, 37.98, -47.31)
CIE-LCHlch(19.13, 60.67, 308.76°)
OKLaboklab(32% 0.0536 -0.1359)
OKLCHoklch(32% 0.146 291.5)
XYZxyz(5.1675, 2.7782, 17.0901)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381875 #557518
analogous
#182775 #381875 #661875
triadic
#381875 #753818 #187538
tetradic
#381875 #751827 #557518 #187566
square
#381875 #751827 #557518 #187566
split-complementary
#381875 #756618 #277518
monochromatic
#0C0519 #200E42 #381875 #5022A8 #6A32D5

Accessibility & contrast

On white

13.50
#381875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#381875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381875
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381875#FFFFFF#000000##FFFFFF
##3818751.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#233246
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #381875;
/* rgb */ color: rgb(56, 24, 117);
/* oklch */ color: oklch(32.0% 0.146 291.5);
Tailwind
colors: {
  custom: {
    50: '#76599e',
    500: '#381875',
    950: '#000000',
  },
}
SCSS
$custom: #381875;
$custom-light: #76599e;
$custom-dark: #000000;
JSON
{
  "hex": "#381875",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 260.645,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32,
    "c": 0.14607,
    "h": 291.5
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#381875
secondary
#85AA3F
accent
#E93FAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #381875

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

Preview Lab → · Contrast checker → · Palette generator →

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