#371263#371263

#371263 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.131 H 298.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#371263
RGBrgb(55, 18, 99)
HSLhsl(267, 69%, 23%)
HSVhsv(267, 82%, 39%)
CMYKcmyk(44.4%, 81.8%, 0%, 61.2%)
CIE-LABlab(16.23, 35.61, -40.32)
CIE-LCHlch(16.23, 53.79, 311.45°)
OKLaboklab(29.4% 0.0627 -0.1154)
OKLCHoklch(29.4% 0.131 298.5)
XYZxyz(4.0434, 2.1456, 12.0031)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371263 #3E6312
analogous
#121663 #371263 #5F1263
triadic
#371263 #633712 #126337
tetradic
#371263 #631216 #3E6312 #12635F
square
#371263 #631216 #3E6312 #12635F
split-complementary
#371263 #635F12 #166312
monochromatic
#0E051A #1A092F #371263 #541B97 #7125CB

Accessibility & contrast

On white

14.69
#371263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371263
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371263#FFFFFF#000000##FFFFFF
##3712631.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#2C283A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371263;
/* rgb */ color: rgb(55, 18, 99);
/* oklch */ color: oklch(29.4% 0.131 298.5);
Tailwind
colors: {
  custom: {
    50: '#735590',
    500: '#371263',
    950: '#000000',
  },
}
SCSS
$custom: #371263;
$custom-light: #735590;
$custom-dark: #000000;
JSON
{
  "hex": "#371263",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 267.407,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29403,
    "c": 0.13131,
    "h": 298.5
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#371263
secondary
#6D9B36
accent
#EC3C9C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #371263

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

Preview Lab → · Contrast checker → · Palette generator →

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