#37175A#37175A

#37175A is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.114 H 301.5°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#37175A
RGBrgb(55, 23, 90)
HSLhsl(269, 59%, 22%)
HSVhsv(269, 74%, 35%)
CMYKcmyk(38.9%, 74.4%, 0%, 64.7%)
CIE-LABlab(16.32, 30.55, -34.18)
CIE-LCHlch(16.32, 45.85, 311.79°)
OKLaboklab(29.21% 0.0596 -0.0974)
OKLCHoklch(29.21% 0.114 301.5)
XYZxyz(3.7270, 2.1632, 9.8921)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37175A #3A5A17
analogous
#17185A #37175A #59175A
triadic
#37175A #5A3717 #175A37
tetradic
#37175A #5A1718 #3A5A17 #175A59
square
#37175A #5A1718 #3A5A17 #175A59
split-complementary
#37175A #5A5917 #185A17
monochromatic
#0F0618 #190B29 #37175A #55238B #7330BB

Accessibility & contrast

On white

14.66
#37175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#37175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37175A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37175A#FFFFFF#000000##FFFFFF
##37175A1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#302736
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37175a;
/* rgb */ color: rgb(55, 23, 90);
/* oklch */ color: oklch(29.2% 0.114 301.5);
Tailwind
colors: {
  custom: {
    50: '#715789',
    500: '#37175a',
    950: '#000000',
  },
}
SCSS
$custom: #37175a;
$custom-light: #715789;
$custom-dark: #000000;
JSON
{
  "hex": "#37175a",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 268.657,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29212,
    "c": 0.11415,
    "h": 301.5
  },
  "luminance": 0.02163
}

Semantic roles & 50–950 ramp

primary
#37175A
secondary
#68913C
accent
#E24597
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #37175A

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

Preview Lab → · Contrast checker → · Palette generator →

#37175A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva