#371269#371269

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

Color values

HEX#371269
RGBrgb(55, 18, 105)
HSLhsl(266, 71%, 24%)
HSVhsv(266, 83%, 41%)
CMYKcmyk(47.6%, 82.9%, 0%, 58.8%)
CIE-LABlab(16.82, 37.26, -43.32)
CIE-LCHlch(16.82, 57.14, 310.70°)
OKLaboklab(29.99% 0.0608 -0.1241)
OKLCHoklch(29.99% 0.138 296.1)
XYZxyz(4.3410, 2.2647, 13.5703)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371269 #446912
analogous
#121969 #371269 #631269
triadic
#371269 #693712 #126937
tetradic
#371269 #691219 #446912 #126963
square
#371269 #691219 #446912 #126963
split-complementary
#371269 #696312 #196912
monochromatic
#0E041A #1C0935 #371269 #521B9D #6E24D1

Accessibility & contrast

On white

14.45
#371269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371269
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371269#FFFFFF#000000##FFFFFF
##3712691.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#292A3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371269;
/* rgb */ color: rgb(55, 18, 105);
/* oklch */ color: oklch(30.0% 0.138 296.1);
Tailwind
colors: {
  custom: {
    50: '#745595',
    500: '#371269',
    950: '#000000',
  },
}
SCSS
$custom: #371269;
$custom-light: #745595;
$custom-dark: #000000;
JSON
{
  "hex": "#371269",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 265.517,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29991,
    "c": 0.13825,
    "h": 296.1
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#371269
secondary
#73A136
accent
#ED3AA1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371269

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

Preview Lab → · Contrast checker → · Palette generator →

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