#381083#381083

#381083 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.169 H 288.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#381083
RGBrgb(56, 16, 131)
HSLhsl(261, 78%, 29%)
HSVhsv(261, 88%, 51%)
CMYKcmyk(57.3%, 87.8%, 0%, 48.6%)
CIE-LABlab(19.43, 45.38, -55.75)
CIE-LCHlch(19.43, 71.88, 309.15°)
OKLaboklab(32.65% 0.0541 -0.1604)
OKLCHoklch(32.65% 0.169 288.6)
XYZxyz(5.9117, 2.8497, 21.7069)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381083 #5B8310
analogous
#102183 #381083 #721083
triadic
#381083 #833810 #108338
tetradic
#381083 #831021 #5B8310 #108372
square
#381083 #831021 #5B8310 #108372
split-complementary
#381083 #837210 #218310
monochromatic
#0C031B #21094C #381083 #4F17BA #6A29E5

Accessibility & contrast

On white

13.38
#381083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#381083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381083
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381083#FFFFFF#000000##FFFFFF
##3810831.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#17354C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #381083;
/* rgb */ color: rgb(56, 16, 131);
/* oklch */ color: oklch(32.7% 0.169 288.6);
Tailwind
colors: {
  custom: {
    50: '#7956a8',
    500: '#381083',
    950: '#000000',
  },
}
SCSS
$custom: #381083;
$custom-light: #7956a8;
$custom-dark: #000000;
JSON
{
  "hex": "#381083",
  "rgb": {
    "r": 56,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 260.87,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32652,
    "c": 0.1693,
    "h": 288.6
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#381083
secondary
#8BB936
accent
#F533B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #381083

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

Preview Lab → · Contrast checker → · Palette generator →

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