#37174F#37174F

#37174F is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.100 H 307.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#37174F
RGBrgb(55, 23, 79)
HSLhsl(274, 55%, 20%)
HSVhsv(274, 71%, 31%)
CMYKcmyk(30.4%, 70.9%, 0%, 69%)
CIE-LABlab(15.43, 27.51, -28.18)
CIE-LCHlch(15.43, 39.38, 314.32°)
OKLaboklab(28.29% 0.061 -0.0797)
OKLCHoklch(28.29% 0.1 307.4)
XYZxyz(3.2929, 1.9896, 7.6062)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37174F #2F4F17
analogous
#1B174F #37174F #4F174B
triadic
#37174F #4F3717 #174F37
tetradic
#37174F #4F1B17 #2F4F17 #174B4F
square
#37174F #4F1B17 #2F4F17 #174B4F
split-complementary
#37174F #4B4F17 #174F1B
monochromatic
#110718 #160920 #37174F #58257E #7933AE

Accessibility & contrast

On white

15.02
#37174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#37174F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37174F
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37174F#FFFFFF#000000##FFFFFF
##37174F1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#0C274E
Tritanopia (blue-blind)
#332330
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #37174f;
/* rgb */ color: rgb(55, 23, 79);
/* oklch */ color: oklch(28.3% 0.100 307.4);
Tailwind
colors: {
  custom: {
    50: '#705681',
    500: '#37174f',
    950: '#000000',
  },
}
SCSS
$custom: #37174f;
$custom-light: #705681;
$custom-dark: #000000;
JSON
{
  "hex": "#37174f",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 274.286,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.28293,
    "c": 0.10037,
    "h": 307.4
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#37174F
secondary
#5C863C
accent
#DE4A89
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #37174F

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

Preview Lab → · Contrast checker → · Palette generator →

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