#37177F#37177F

#37177F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.159 H 288.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#37177F
RGBrgb(55, 23, 127)
HSLhsl(258, 69%, 29%)
HSVhsv(258, 82%, 50%)
CMYKcmyk(56.7%, 81.9%, 0%, 50.2%)
CIE-LABlab(19.87, 41.23, -52.49)
CIE-LCHlch(19.87, 66.75, 308.15°)
OKLaboklab(32.8% 0.0496 -0.151)
OKLCHoklch(32.8% 0.159 288.2)
XYZxyz(5.7116, 2.9570, 20.3444)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37177F #5F7F17
analogous
#172B7F #37177F #6B177F
triadic
#37177F #7F3717 #177F37
tetradic
#37177F #7F172B #5F7F17 #177F6B
square
#37177F #7F172B #5F7F17 #177F6B
split-complementary
#37177F #7F6B17 #2B7F17
monochromatic
#0B051A #210E4B #37177F #4D20B3 #6936DB

Accessibility & contrast

On white

13.20
#37177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#37177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37177F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37177F#FFFFFF#000000##FFFFFF
##37177F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#18364B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37177f;
/* rgb */ color: rgb(55, 23, 127);
/* oklch */ color: oklch(32.8% 0.159 288.2);
Tailwind
colors: {
  custom: {
    50: '#7759a5',
    500: '#37177f',
    950: '#000000',
  },
}
SCSS
$custom: #37177f;
$custom-light: #7759a5;
$custom-dark: #000000;
JSON
{
  "hex": "#37177f",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 258.462,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32797,
    "c": 0.15898,
    "h": 288.2
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#37177F
secondary
#8FB43E
accent
#EC3CB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #37177F

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

Preview Lab → · Contrast checker → · Palette generator →

#37177F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva