#381360#381360

#381360 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.127 H 300.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#381360
RGBrgb(56, 19, 96)
HSLhsl(269, 67%, 23%)
HSVhsv(269, 80%, 38%)
CMYKcmyk(41.7%, 80.2%, 0%, 62.4%)
CIE-LABlab(16.26, 34.49, -38.28)
CIE-LCHlch(16.26, 51.53, 312.02°)
OKLaboklab(29.37% 0.0643 -0.1093)
OKLCHoklch(29.37% 0.127 300.4)
XYZxyz(3.9746, 2.1510, 11.2698)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381360 #3B6013
analogous
#131460 #381360 #5E1360
triadic
#381360 #603813 #136038
tetradic
#381360 #601314 #3B6013 #13605E
square
#381360 #601314 #3B6013 #13605E
split-complementary
#381360 #605E13 #146013
monochromatic
#0F051A #1A092D #381360 #561D93 #7427C6

Accessibility & contrast

On white

14.68
#381360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#381360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381360
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381360#FFFFFF#000000##FFFFFF
##3813601.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#2F2739
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #381360;
/* rgb */ color: rgb(56, 19, 96);
/* oklch */ color: oklch(29.4% 0.127 300.4);
Tailwind
colors: {
  custom: {
    50: '#73558e',
    500: '#381360',
    950: '#000000',
  },
}
SCSS
$custom: #381360;
$custom-light: #73558e;
$custom-dark: #000000;
JSON
{
  "hex": "#381360",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 268.831,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29366,
    "c": 0.12682,
    "h": 300.4
  },
  "luminance": 0.02151
}

Semantic roles & 50–950 ramp

primary
#381360
secondary
#699837
accent
#EA3E97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381360

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

Preview Lab → · Contrast checker → · Palette generator →

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