#371763#371763

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

Color values

HEX#371763
RGBrgb(55, 23, 99)
HSLhsl(265, 62%, 24%)
HSVhsv(265, 77%, 39%)
CMYKcmyk(44.4%, 76.8%, 0%, 61.2%)
CIE-LABlab(17.11, 33.11, -38.89)
CIE-LCHlch(17.11, 51.07, 310.41°)
OKLaboklab(30.02% 0.0578 -0.1112)
OKLCHoklch(30.02% 0.125 297.5)
XYZxyz(4.1335, 2.3258, 12.0331)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371763 #436317
analogous
#171D63 #371763 #5D1763
triadic
#371763 #633717 #176337
tetradic
#371763 #63171D #436317 #17635D
square
#371763 #63171D #436317 #17635D
split-complementary
#371763 #635D17 #1D6317
monochromatic
#0E0619 #1B0B31 #371763 #532395 #6E2EC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##371763#FFFFFF#000000##FFFFFF
##3717631.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)
#002A65
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#2C2A3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371763;
/* rgb */ color: rgb(55, 23, 99);
/* oklch */ color: oklch(30.0% 0.125 297.5);
Tailwind
colors: {
  custom: {
    50: '#735790',
    500: '#371763',
    950: '#000000',
  },
}
SCSS
$custom: #371763;
$custom-light: #735790;
$custom-dark: #000000;
JSON
{
  "hex": "#371763",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 265.263,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30021,
    "c": 0.1253,
    "h": 297.5
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#371763
secondary
#729A3C
accent
#E542A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #371763

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

Preview Lab → · Contrast checker → · Palette generator →

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