#381575#381575

#381575 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.149 H 292.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#381575
RGBrgb(56, 21, 117)
HSLhsl(262, 70%, 27%)
HSVhsv(262, 82%, 46%)
CMYKcmyk(52.1%, 82.1%, 0%, 54.1%)
CIE-LABlab(18.63, 39.42, -48.13)
CIE-LCHlch(18.63, 62.21, 309.32°)
OKLaboklab(31.65% 0.0561 -0.1382)
OKLCHoklch(31.65% 0.149 292.1)
XYZxyz(5.1090, 2.6612, 17.0706)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381575 #527515
analogous
#152275 #381575 #681575
triadic
#381575 #753815 #157538
tetradic
#381575 #751522 #527515 #157568
square
#381575 #751522 #527515 #157568
split-complementary
#381575 #756815 #227515
monochromatic
#0C051A #1F0C41 #381575 #511EA9 #6B2BD9

Accessibility & contrast

On white

13.71
#381575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#381575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381575
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381575#FFFFFF#000000##FFFFFF
##3815751.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381575;
/* rgb */ color: rgb(56, 21, 117);
/* oklch */ color: oklch(31.7% 0.149 292.1);
Tailwind
colors: {
  custom: {
    50: '#76579e',
    500: '#381575',
    950: '#000000',
  },
}
SCSS
$custom: #381575;
$custom-light: #76579e;
$custom-dark: #000000;
JSON
{
  "hex": "#381575",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 261.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31651,
    "c": 0.14918,
    "h": 292.1
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#381575
secondary
#82AB3B
accent
#EC3BAC
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381575

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

Preview Lab → · Contrast checker → · Palette generator →

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