#37175E#37175E

#37175E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.6% C 0.119 H 299.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#37175E
RGBrgb(55, 23, 94)
HSLhsl(267, 61%, 23%)
HSVhsv(267, 76%, 37%)
CMYKcmyk(41.5%, 75.5%, 0%, 63.1%)
CIE-LABlab(16.67, 31.68, -36.30)
CIE-LCHlch(16.67, 48.18, 311.12°)
OKLaboklab(29.57% 0.0589 -0.1036)
OKLCHoklch(29.57% 0.119 299.6)
XYZxyz(3.9018, 2.2331, 10.8130)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37175E #3E5E17
analogous
#171A5E #37175E #5A175E
triadic
#37175E #5E3717 #175E37
tetradic
#37175E #5E171A #3E5E17 #175E5A
square
#37175E #5E171A #3E5E17 #175E5A
split-complementary
#37175E #5E5A17 #1A5E17
monochromatic
#0E0619 #1A0B2D #37175E #54238F #712FC0

Accessibility & contrast

On white

14.52
#37175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#37175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37175E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37175E#FFFFFF#000000##FFFFFF
##37175E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#2E2838
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37175e;
/* rgb */ color: rgb(55, 23, 94);
/* oklch */ color: oklch(29.6% 0.119 299.6);
Tailwind
colors: {
  custom: {
    50: '#72578c',
    500: '#37175e',
    950: '#000000',
  },
}
SCSS
$custom: #37175e;
$custom-light: #72578c;
$custom-dark: #000000;
JSON
{
  "hex": "#37175e",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 267.042,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29566,
    "c": 0.11913,
    "h": 299.6
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#37175E
secondary
#6D953C
accent
#E4449C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37175E

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

Preview Lab → · Contrast checker → · Palette generator →

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