#381269#381269

#381269 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.138 H 296.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#381269
RGBrgb(56, 18, 105)
HSLhsl(266, 71%, 24%)
HSVhsv(266, 83%, 41%)
CMYKcmyk(46.7%, 82.9%, 0%, 58.8%)
CIE-LABlab(16.96, 37.43, -43.09)
CIE-LCHlch(16.96, 57.07, 310.98°)
OKLaboklab(30.12% 0.0625 -0.1234)
OKLCHoklch(30.12% 0.138 296.9)
XYZxyz(4.3963, 2.2932, 13.5729)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381269 #436912
analogous
#121869 #381269 #641269
triadic
#381269 #693812 #126938
tetradic
#381269 #691218 #436912 #126964
square
#381269 #691218 #436912 #126964
split-complementary
#381269 #696412 #186912
monochromatic
#0E041A #1C0935 #381269 #541B9D #7024D1

Accessibility & contrast

On white

14.40
#381269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#381269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381269
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381269#FFFFFF#000000##FFFFFF
##3812691.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#2B2A3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381269;
/* rgb */ color: rgb(56, 18, 105);
/* oklch */ color: oklch(30.1% 0.138 296.9);
Tailwind
colors: {
  custom: {
    50: '#755595',
    500: '#381269',
    950: '#000000',
  },
}
SCSS
$custom: #381269;
$custom-light: #755595;
$custom-dark: #000000;
JSON
{
  "hex": "#381269",
  "rgb": {
    "r": 56,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 266.207,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30117,
    "c": 0.13835,
    "h": 296.9
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#381269
secondary
#72A136
accent
#ED3A9F
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381269

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

Preview Lab → · Contrast checker → · Palette generator →

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