#371AAE#371AAE

#371AAE is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.3% C 0.210 H 278.7°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#371AAE
RGBrgb(55, 26, 174)
HSLhsl(252, 74%, 39%)
HSVhsv(252, 85%, 68%)
CMYKcmyk(68.4%, 85.1%, 0%, 31.8%)
CIE-LABlab(25.58, 53.48, -72.05)
CIE-LCHlch(25.58, 89.73, 306.59°)
OKLaboklab(38.28% 0.0318 -0.208)
OKLCHoklch(38.28% 0.21 278.7)
XYZxyz(9.5825, 4.6062, 40.4203)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371AAE #91AE1A
analogous
#1A47AE #371AAE #811AAE
triadic
#371AAE #AE371A #1AAE37
tetradic
#371AAE #AE1A47 #91AE1A #1AAE81
square
#371AAE #AE1A47 #91AE1A #1AAE81
split-complementary
#371AAE #AE811A #47AE1A
monochromatic
#150A44 #261279 #371AAE #4B27DF #775CE7

Accessibility & contrast

On white

10.93
#371AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#371AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371AAE
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371AAE#FFFFFF#000000##FFFFFF
##371AAE1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B2
Deuteranopia (green-blind)
#0037AC
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #371aae;
/* rgb */ color: rgb(55, 26, 174);
/* oklch */ color: oklch(38.3% 0.210 278.7);
Tailwind
colors: {
  custom: {
    50: '#805ec8',
    500: '#371aae',
    950: '#000000',
  },
}
SCSS
$custom: #371aae;
$custom-light: #805ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#371aae",
  "rgb": {
    "r": 55,
    "g": 26,
    "b": 174
  },
  "hsl": {
    "h": 251.757,
    "s": 74,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38282,
    "c": 0.21045,
    "h": 278.7
  },
  "luminance": 0.04607
}

Semantic roles & 50–950 ramp

primary
#371AAE
secondary
#B4CA59
accent
#F137CC
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #371AAE

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

Preview Lab → · Contrast checker → · Palette generator →

#371AAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva