#37175D#37175D

#37175D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.118 H 300.1°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#37175D
RGBrgb(55, 23, 93)
HSLhsl(267, 60%, 23%)
HSVhsv(267, 75%, 36%)
CMYKcmyk(40.9%, 75.3%, 0%, 63.5%)
CIE-LABlab(16.58, 31.40, -35.77)
CIE-LCHlch(16.58, 47.60, 311.27°)
OKLaboklab(29.48% 0.0591 -0.102)
OKLCHoklch(29.48% 0.118 300.1)
XYZxyz(3.8572, 2.2153, 10.5782)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37175D #3D5D17
analogous
#171A5D #37175D #5A175D
triadic
#37175D #5D3717 #175D37
tetradic
#37175D #5D171A #3D5D17 #175D5A
square
#37175D #5D171A #3D5D17 #175D5A
split-complementary
#37175D #5D5A17 #1A5D17
monochromatic
#0F0619 #1A0B2C #37175D #54238E #712FBF

Accessibility & contrast

On white

14.55
#37175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#37175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37175D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37175D#FFFFFF#000000##FFFFFF
##37175D1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#2E2838
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37175d;
/* rgb */ color: rgb(55, 23, 93);
/* oklch */ color: oklch(29.5% 0.118 300.1);
Tailwind
colors: {
  custom: {
    50: '#72578b',
    500: '#37175d',
    950: '#000000',
  },
}
SCSS
$custom: #37175d;
$custom-light: #72578b;
$custom-dark: #000000;
JSON
{
  "hex": "#37175d",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 267.429,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29476,
    "c": 0.11788,
    "h": 300.1
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#37175D
secondary
#6C943C
accent
#E3449B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37175D

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

Preview Lab → · Contrast checker → · Palette generator →

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