#381675#381675

#381675 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.148 H 291.9°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#381675
RGBrgb(56, 22, 117)
HSLhsl(261, 68%, 27%)
HSVhsv(261, 81%, 46%)
CMYKcmyk(52.1%, 81.2%, 0%, 54.1%)
CIE-LABlab(18.79, 38.95, -47.87)
CIE-LCHlch(18.79, 61.71, 309.14°)
OKLaboklab(31.76% 0.0553 -0.1375)
OKLCHoklch(31.76% 0.148 291.9)
XYZxyz(5.1278, 2.6987, 17.0769)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381675 #537516
analogous
#162375 #381675 #681675
triadic
#381675 #753816 #167538
tetradic
#381675 #751623 #537516 #167568
square
#381675 #751623 #537516 #167568
split-complementary
#381675 #756816 #237516
monochromatic
#0C051A #1F0C41 #381675 #5120A9 #6B2ED8

Accessibility & contrast

On white

13.64
#381675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#381675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381675
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381675#FFFFFF#000000##FFFFFF
##3816751.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381675;
/* rgb */ color: rgb(56, 22, 117);
/* oklch */ color: oklch(31.8% 0.148 291.9);
Tailwind
colors: {
  custom: {
    50: '#76589e',
    500: '#381675',
    950: '#000000',
  },
}
SCSS
$custom: #381675;
$custom-light: #76589e;
$custom-dark: #000000;
JSON
{
  "hex": "#381675",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 261.474,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31764,
    "c": 0.14817,
    "h": 291.9
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#381675
secondary
#83AB3C
accent
#EB3DAD
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #381675

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

Preview Lab → · Contrast checker → · Palette generator →

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