#371250#371250

#371250 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.109 H 308.1°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#371250
RGBrgb(55, 18, 80)
HSLhsl(276, 63%, 19%)
HSVhsv(276, 78%, 31%)
CMYKcmyk(31.2%, 77.5%, 0%, 68.6%)
CIE-LABlab(14.54, 30.49, -30.31)
CIE-LCHlch(14.54, 42.99, 315.18°)
OKLaboklab(27.68% 0.0673 -0.0859)
OKLCHoklch(27.68% 0.109 308.1)
XYZxyz(3.2395, 1.8241, 7.7693)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371250 #2B5012
analogous
#181250 #371250 #50124A
triadic
#371250 #503712 #125037
tetradic
#371250 #501812 #2B5012 #124A50
square
#371250 #501812 #2B5012 #124A50
split-complementary
#371250 #4A5012 #125018
monochromatic
#110619 #15071E #371250 #591D82 #7C28B4

Accessibility & contrast

On white

15.39
#371250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#371250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371250
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371250#FFFFFF#000000##FFFFFF
##3712501.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#03254F
Tritanopia (blue-blind)
#33202F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #371250;
/* rgb */ color: rgb(55, 18, 80);
/* oklch */ color: oklch(27.7% 0.109 308.1);
Tailwind
colors: {
  custom: {
    50: '#715382',
    500: '#371250',
    950: '#000000',
  },
}
SCSS
$custom: #371250;
$custom-light: #715382;
$custom-dark: #000000;
JSON
{
  "hex": "#371250",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 275.806,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27676,
    "c": 0.10914,
    "h": 308.1
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#371250
secondary
#578935
accent
#E64184
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #371250

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

Preview Lab → · Contrast checker → · Palette generator →

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