#371775#371775

#371775 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.147 H 291.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#371775
RGBrgb(55, 23, 117)
HSLhsl(260, 67%, 27%)
HSVhsv(260, 80%, 46%)
CMYKcmyk(53%, 80.3%, 0%, 54.1%)
CIE-LABlab(18.84, 38.32, -47.80)
CIE-LCHlch(18.84, 61.26, 308.72°)
OKLaboklab(31.77% 0.0528 -0.1373)
OKLCHoklch(31.77% 0.147 291)
XYZxyz(5.0919, 2.7092, 17.0808)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371775 #557517
analogous
#172675 #371775 #661775
triadic
#371775 #753717 #177537
tetradic
#371775 #751726 #557517 #177566
square
#371775 #751726 #557517 #177566
split-complementary
#371775 #756617 #267517
monochromatic
#0C051A #1F0D42 #371775 #4F21A8 #6930D6

Accessibility & contrast

On white

13.62
#371775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#371775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371775
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371775#FFFFFF#000000##FFFFFF
##3717751.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#213145
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371775;
/* rgb */ color: rgb(55, 23, 117);
/* oklch */ color: oklch(31.8% 0.147 291.0);
Tailwind
colors: {
  custom: {
    50: '#75589e',
    500: '#371775',
    950: '#000000',
  },
}
SCSS
$custom: #371775;
$custom-light: #75589e;
$custom-dark: #000000;
JSON
{
  "hex": "#371775",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 260.426,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.14713,
    "h": 291
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#371775
secondary
#85AA3D
accent
#EA3EAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371775

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

Preview Lab → · Contrast checker → · Palette generator →

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