#371B6E#371B6E

#371B6E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.134 H 292.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#371B6E
RGBrgb(55, 27, 110)
HSLhsl(260, 61%, 27%)
HSVhsv(260, 75%, 43%)
CMYKcmyk(50%, 75.5%, 0%, 56.9%)
CIE-LABlab(18.89, 34.17, -43.18)
CIE-LCHlch(18.89, 55.07, 308.36°)
OKLaboklab(31.6% 0.0511 -0.1238)
OKLCHoklch(31.6% 0.134 292.4)
XYZxyz(4.7812, 2.7217, 15.0223)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371B6E #526E1B
analogous
#1B296E #371B6E #611B6E
triadic
#371B6E #6E371B #1B6E37
tetradic
#371B6E #6E1B29 #526E1B #1B6E61
square
#371B6E #6E1B29 #526E1B #1B6E61
split-complementary
#371B6E #6E611B #296E1B
monochromatic
#0C0619 #1E0F3D #371B6E #50279F #6936CE

Accessibility & contrast

On white

13.60
#371B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#371B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371B6E
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371B6E#FFFFFF#000000##FFFFFF
##371B6E1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#263142
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371b6e;
/* rgb */ color: rgb(55, 27, 110);
/* oklch */ color: oklch(31.6% 0.134 292.4);
Tailwind
colors: {
  custom: {
    50: '#745a98',
    500: '#371b6e',
    950: '#000000',
  },
}
SCSS
$custom: #371b6e;
$custom-light: #745a98;
$custom-dark: #000000;
JSON
{
  "hex": "#371b6e",
  "rgb": {
    "r": 55,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 260.241,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31597,
    "c": 0.13396,
    "h": 292.4
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#371B6E
secondary
#82A342
accent
#E444AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #371B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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