#381175#381175

#381175 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.153 H 292.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#381175
RGBrgb(56, 17, 117)
HSLhsl(263, 75%, 26%)
HSVhsv(263, 85%, 46%)
CMYKcmyk(52.1%, 85.5%, 0%, 54.1%)
CIE-LABlab(18.03, 41.16, -49.12)
CIE-LCHlch(18.03, 64.08, 309.96°)
OKLaboklab(31.24% 0.059 -0.1411)
OKLCHoklch(31.24% 0.153 292.7)
XYZxyz(5.0413, 2.5258, 17.0481)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381175 #4E7511
analogous
#111C75 #381175 #6A1175
triadic
#381175 #753811 #117538
tetradic
#381175 #75111C #4E7511 #11756A
square
#381175 #75111C #4E7511 #11756A
split-complementary
#381175 #756A11 #1C7511
monochromatic
#0D041B #1E0940 #381175 #5219AA #6B22DF

Accessibility & contrast

On white

13.95
#381175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#381175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381175
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381175#FFFFFF#000000##FFFFFF
##3811751.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#242F44
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381175;
/* rgb */ color: rgb(56, 17, 117);
/* oklch */ color: oklch(31.2% 0.153 292.7);
Tailwind
colors: {
  custom: {
    50: '#76559e',
    500: '#381175',
    950: '#000000',
  },
}
SCSS
$custom: #381175;
$custom-light: #76559e;
$custom-dark: #000000;
JSON
{
  "hex": "#381175",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 263.4,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31237,
    "c": 0.15292,
    "h": 292.7
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#381175
secondary
#7EAC36
accent
#F137A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381175

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

Preview Lab → · Contrast checker → · Palette generator →

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