#371462#371462

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

Color values

HEX#371462
RGBrgb(55, 20, 98)
HSLhsl(267, 66%, 23%)
HSVhsv(267, 80%, 38%)
CMYKcmyk(43.9%, 79.6%, 0%, 61.6%)
CIE-LABlab(16.48, 34.37, -39.26)
CIE-LCHlch(16.48, 52.18, 311.19°)
OKLaboklab(29.54% 0.0611 -0.1123)
OKLCHoklch(29.54% 0.128 298.6)
XYZxyz(4.0297, 2.1943, 11.7641)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371462 #3F6214
analogous
#141862 #371462 #5E1462
triadic
#371462 #623714 #146237
tetradic
#371462 #621418 #3F6214 #14625E
square
#371462 #621418 #3F6214 #14625E
split-complementary
#371462 #625E14 #186214
monochromatic
#0E0519 #1A0A2F #371462 #541E95 #7029C8

Accessibility & contrast

On white

14.60
#371462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371462
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371462#FFFFFF#000000##FFFFFF
##3714621.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371462;
/* rgb */ color: rgb(55, 20, 98);
/* oklch */ color: oklch(29.5% 0.128 298.6);
Tailwind
colors: {
  custom: {
    50: '#73568f',
    500: '#371462',
    950: '#000000',
  },
}
SCSS
$custom: #371462;
$custom-light: #73568f;
$custom-dark: #000000;
JSON
{
  "hex": "#371462",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 266.923,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29544,
    "c": 0.12782,
    "h": 298.6
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#371462
secondary
#6E9938
accent
#E93F9D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #371462

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

Preview Lab → · Contrast checker → · Palette generator →

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