#381075#381075

#381075 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.154 H 292.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#381075
RGBrgb(56, 16, 117)
HSLhsl(264, 76%, 26%)
HSVhsv(264, 86%, 46%)
CMYKcmyk(52.1%, 86.3%, 0%, 54.1%)
CIE-LABlab(17.90, 41.56, -49.34)
CIE-LCHlch(17.90, 64.51, 310.11°)
OKLaboklab(31.14% 0.0597 -0.1417)
OKLCHoklch(31.14% 0.154 292.8)
XYZxyz(5.0262, 2.4955, 17.0430)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381075 #4D7510
analogous
#101B75 #381075 #6A1075
triadic
#381075 #753810 #107538
tetradic
#381075 #75101B #4D7510 #10756A
square
#381075 #75101B #4D7510 #10756A
split-complementary
#381075 #756A10 #1B7510
monochromatic
#0D041B #1E093F #381075 #5217AB #6C1FE0

Accessibility & contrast

On white

14.01
#381075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#381075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381075
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381075#FFFFFF#000000##FFFFFF
##3810751.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.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: #381075;
/* rgb */ color: rgb(56, 16, 117);
/* oklch */ color: oklch(31.1% 0.154 292.8);
Tailwind
colors: {
  custom: {
    50: '#77559e',
    500: '#381075',
    950: '#000000',
  },
}
SCSS
$custom: #381075;
$custom-light: #77559e;
$custom-dark: #000000;
JSON
{
  "hex": "#381075",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 263.762,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31143,
    "c": 0.15377,
    "h": 292.8
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#381075
secondary
#7DAC35
accent
#F335A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381075

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

Preview Lab → · Contrast checker → · Palette generator →

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