#371773#371773

#371773 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.145 H 291.7°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#371773
RGBrgb(55, 23, 115)
HSLhsl(261, 67%, 27%)
HSVhsv(261, 80%, 45%)
CMYKcmyk(52.2%, 80%, 0%, 54.9%)
CIE-LABlab(18.64, 37.74, -46.84)
CIE-LCHlch(18.64, 60.15, 308.86°)
OKLaboklab(31.57% 0.0535 -0.1345)
OKLCHoklch(31.57% 0.145 291.7)
XYZxyz(4.9756, 2.6626, 16.4681)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371773 #537317
analogous
#172573 #371773 #651773
triadic
#371773 #733717 #177337
tetradic
#371773 #731725 #537317 #177365
square
#371773 #731725 #537317 #177365
split-complementary
#371773 #736517 #257317
monochromatic
#0C051A #1F0D40 #371773 #4F21A6 #692FD5

Accessibility & contrast

On white

13.70
#371773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#371773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371773
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371773#FFFFFF#000000##FFFFFF
##3717731.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#233144
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371773;
/* rgb */ color: rgb(55, 23, 115);
/* oklch */ color: oklch(31.6% 0.145 291.7);
Tailwind
colors: {
  custom: {
    50: '#75589c',
    500: '#371773',
    950: '#000000',
  },
}
SCSS
$custom: #371773;
$custom-light: #75589c;
$custom-dark: #000000;
JSON
{
  "hex": "#371773",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 260.87,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31565,
    "c": 0.14474,
    "h": 291.7
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#371773
secondary
#83A93D
accent
#EA3EAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371773

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

Preview Lab → · Contrast checker → · Palette generator →

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