#37175C#37175C

#37175C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.117 H 300.5°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#37175C
RGBrgb(55, 23, 92)
HSLhsl(268, 60%, 23%)
HSVhsv(268, 75%, 36%)
CMYKcmyk(40.2%, 75%, 0%, 63.9%)
CIE-LABlab(16.49, 31.11, -35.24)
CIE-LCHlch(16.49, 47.01, 311.44°)
OKLaboklab(29.39% 0.0593 -0.1005)
OKLCHoklch(29.39% 0.117 300.5)
XYZxyz(3.8132, 2.1977, 10.3464)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37175C #3C5C17
analogous
#171A5C #37175C #59175C
triadic
#37175C #5C3717 #175C37
tetradic
#37175C #5C171A #3C5C17 #175C59
square
#37175C #5C171A #3C5C17 #175C59
split-complementary
#37175C #5C5917 #1A5C17
monochromatic
#0F0618 #1A0B2B #37175C #54238D #722FBE

Accessibility & contrast

On white

14.59
#37175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37175C
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37175C#FFFFFF#000000##FFFFFF
##37175C1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#2F2837
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37175c;
/* rgb */ color: rgb(55, 23, 92);
/* oklch */ color: oklch(29.4% 0.117 300.5);
Tailwind
colors: {
  custom: {
    50: '#72578b',
    500: '#37175c',
    950: '#000000',
  },
}
SCSS
$custom: #37175c;
$custom-light: #72578b;
$custom-dark: #000000;
JSON
{
  "hex": "#37175c",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 267.826,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29388,
    "c": 0.11664,
    "h": 300.5
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#37175C
secondary
#6B933C
accent
#E3459A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37175C

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

Preview Lab → · Contrast checker → · Palette generator →

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