#371765#371765

#371765 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.128 H 296.7°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#371765
RGBrgb(55, 23, 101)
HSLhsl(265, 63%, 24%)
HSVhsv(265, 77%, 40%)
CMYKcmyk(45.5%, 77.2%, 0%, 60.4%)
CIE-LABlab(17.29, 33.68, -39.91)
CIE-LCHlch(17.29, 52.22, 310.16°)
OKLaboklab(30.21% 0.0573 -0.1142)
OKLCHoklch(30.21% 0.128 296.7)
XYZxyz(4.2303, 2.3645, 12.5429)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371765 #456517
analogous
#171E65 #371765 #5E1765
triadic
#371765 #653717 #176537
tetradic
#371765 #65171E #456517 #17655E
square
#371765 #65171E #456517 #17655E
split-complementary
#371765 #655E17 #1E6517
monochromatic
#0E0619 #1C0C33 #371765 #522297 #6D2EC9

Accessibility & contrast

On white

14.26
#371765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371765
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371765#FFFFFF#000000##FFFFFF
##3717651.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#2B2B3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371765;
/* rgb */ color: rgb(55, 23, 101);
/* oklch */ color: oklch(30.2% 0.128 296.7);
Tailwind
colors: {
  custom: {
    50: '#735792',
    500: '#371765',
    950: '#000000',
  },
}
SCSS
$custom: #371765;
$custom-light: #735792;
$custom-dark: #000000;
JSON
{
  "hex": "#371765",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 264.615,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30207,
    "c": 0.12776,
    "h": 296.7
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#371765
secondary
#749B3C
accent
#E642A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371765

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

Preview Lab → · Contrast checker → · Palette generator →

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