#371361#371361

#371361 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.128 H 299.2°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#371361
RGBrgb(55, 19, 97)
HSLhsl(268, 67%, 23%)
HSVhsv(268, 80%, 38%)
CMYKcmyk(43.3%, 80.4%, 0%, 62%)
CIE-LABlab(16.21, 34.58, -39.03)
CIE-LCHlch(16.21, 52.15, 311.54°)
OKLaboklab(29.33% 0.0624 -0.1116)
OKLCHoklch(29.33% 0.128 299.2)
XYZxyz(3.9655, 2.1410, 11.5113)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371361 #3D6113
analogous
#131661 #371361 #5E1361
triadic
#371361 #613713 #136137
tetradic
#371361 #611316 #3D6113 #13615E
square
#371361 #611316 #3D6113 #13615E
split-complementary
#371361 #615E13 #166113
monochromatic
#0F051A #1A092E #371361 #541D94 #7127C7

Accessibility & contrast

On white

14.70
#371361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371361
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371361#FFFFFF#000000##FFFFFF
##3713611.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#2D2739
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371361;
/* rgb */ color: rgb(55, 19, 97);
/* oklch */ color: oklch(29.3% 0.128 299.2);
Tailwind
colors: {
  custom: {
    50: '#73558f',
    500: '#371361',
    950: '#000000',
  },
}
SCSS
$custom: #371361;
$custom-light: #73558f;
$custom-dark: #000000;
JSON
{
  "hex": "#371361",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 267.692,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29328,
    "c": 0.12782,
    "h": 299.2
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#371361
secondary
#6C9937
accent
#EA3E9B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371361

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

Preview Lab → · Contrast checker → · Palette generator →

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