#381975#381975

#381975 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.145 H 291.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#381975
RGBrgb(56, 25, 117)
HSLhsl(260, 65%, 28%)
HSVhsv(260, 79%, 46%)
CMYKcmyk(52.1%, 78.6%, 0%, 54.1%)
CIE-LABlab(19.31, 37.48, -47.02)
CIE-LCHlch(19.31, 60.13, 308.56°)
OKLaboklab(32.12% 0.0528 -0.135)
OKLCHoklch(32.12% 0.145 291.3)
XYZxyz(5.1885, 2.8202, 17.0971)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381975 #567519
analogous
#192875 #381975 #661975
triadic
#381975 #753819 #197538
tetradic
#381975 #751928 #567519 #197566
square
#381975 #751928 #567519 #197566
split-complementary
#381975 #756619 #287519
monochromatic
#0C0519 #200E43 #381975 #5024A7 #6A35D4

Accessibility & contrast

On white

13.43
#381975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381975
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381975#FFFFFF#000000##FFFFFF
##3819751.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381975;
/* rgb */ color: rgb(56, 25, 117);
/* oklch */ color: oklch(32.1% 0.145 291.3);
Tailwind
colors: {
  custom: {
    50: '#76599e',
    500: '#381975',
    950: '#000000',
  },
}
SCSS
$custom: #381975;
$custom-light: #76599e;
$custom-dark: #000000;
JSON
{
  "hex": "#381975",
  "rgb": {
    "r": 56,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 260.217,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32123,
    "c": 0.14498,
    "h": 291.3
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#381975
secondary
#86AA40
accent
#E840AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #381975

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

Preview Lab → · Contrast checker → · Palette generator →

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