#371665#371665

#371665 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.129 H 296.9°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#371665
RGBrgb(55, 22, 101)
HSLhsl(265, 64%, 24%)
HSVhsv(265, 78%, 40%)
CMYKcmyk(45.5%, 78.2%, 0%, 60.4%)
CIE-LABlab(17.11, 34.20, -40.21)
CIE-LCHlch(17.11, 52.79, 310.38°)
OKLaboklab(30.08% 0.0583 -0.1151)
OKLCHoklch(30.08% 0.129 296.9)
XYZxyz(4.2108, 2.3255, 12.5364)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371665 #446516
analogous
#161D65 #371665 #5F1665
triadic
#371665 #653716 #166537
tetradic
#371665 #65161D #446516 #16655F
square
#371665 #65161D #446516 #16655F
split-complementary
#371665 #655F16 #1D6516
monochromatic
#0E0519 #1C0B33 #371665 #522197 #6E2CCA

Accessibility & contrast

On white

14.33
#371665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371665
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371665#FFFFFF#000000##FFFFFF
##3716651.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371665;
/* rgb */ color: rgb(55, 22, 101);
/* oklch */ color: oklch(30.1% 0.129 296.9);
Tailwind
colors: {
  custom: {
    50: '#735792',
    500: '#371665',
    950: '#000000',
  },
}
SCSS
$custom: #371665;
$custom-light: #735792;
$custom-dark: #000000;
JSON
{
  "hex": "#371665",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 265.063,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30077,
    "c": 0.129,
    "h": 296.9
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#371665
secondary
#739C3B
accent
#E741A2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371665

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

Preview Lab → · Contrast checker → · Palette generator →

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