#371363#371363

#371363 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.130 H 298.3°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#371363
RGBrgb(55, 19, 99)
HSLhsl(267, 68%, 23%)
HSVhsv(267, 81%, 39%)
CMYKcmyk(44.4%, 80.8%, 0%, 61.2%)
CIE-LABlab(16.40, 35.13, -40.05)
CIE-LCHlch(16.40, 53.28, 311.26°)
OKLaboklab(29.52% 0.0618 -0.1146)
OKLCHoklch(29.52% 0.13 298.3)
XYZxyz(4.0600, 2.1788, 12.0086)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371363 #3F6313
analogous
#131763 #371363 #5F1363
triadic
#371363 #633713 #136337
tetradic
#371363 #631317 #3F6313 #13635F
square
#371363 #631317 #3F6313 #13635F
split-complementary
#371363 #635F13 #176313
monochromatic
#0E051A #1A0930 #371363 #541D96 #7027CA

Accessibility & contrast

On white

14.63
#371363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#371363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371363
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371363#FFFFFF#000000##FFFFFF
##3713631.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#2C283A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371363;
/* rgb */ color: rgb(55, 19, 99);
/* oklch */ color: oklch(29.5% 0.130 298.3);
Tailwind
colors: {
  custom: {
    50: '#735590',
    500: '#371363',
    950: '#000000',
  },
}
SCSS
$custom: #371363;
$custom-light: #735590;
$custom-dark: #000000;
JSON
{
  "hex": "#371363",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 267,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29519,
    "c": 0.13017,
    "h": 298.3
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#371363
secondary
#6E9B37
accent
#EB3D9D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #371363

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

Preview Lab → · Contrast checker → · Palette generator →

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