#371461#371461

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

Color values

HEX#371461
RGBrgb(55, 20, 97)
HSLhsl(267, 66%, 23%)
HSVhsv(267, 79%, 38%)
CMYKcmyk(43.3%, 79.4%, 0%, 62%)
CIE-LABlab(16.38, 34.09, -38.75)
CIE-LCHlch(16.38, 51.61, 311.33°)
OKLaboklab(29.45% 0.0614 -0.1108)
OKLCHoklch(29.45% 0.127 299)
XYZxyz(3.9828, 2.1756, 11.5170)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371461 #3E6114
analogous
#141761 #371461 #5D1461
triadic
#371461 #613714 #146137
tetradic
#371461 #611417 #3E6114 #14615D
square
#371461 #611417 #3E6114 #14615D
split-complementary
#371461 #615D14 #176114
monochromatic
#0E0519 #1A0A2E #371461 #541E94 #7129C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##371461#FFFFFF#000000##FFFFFF
##3714611.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)
#002963
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#2D2839
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371461;
/* rgb */ color: rgb(55, 20, 97);
/* oklch */ color: oklch(29.4% 0.127 299.0);
Tailwind
colors: {
  custom: {
    50: '#73558f',
    500: '#371461',
    950: '#000000',
  },
}
SCSS
$custom: #371461;
$custom-light: #73558f;
$custom-dark: #000000;
JSON
{
  "hex": "#371461",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 267.273,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29449,
    "c": 0.12663,
    "h": 299
  },
  "luminance": 0.02176
}

Semantic roles & 50–950 ramp

primary
#371461
secondary
#6D9838
accent
#E93F9C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371461

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

Preview Lab → · Contrast checker → · Palette generator →

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