#37175F#37175F

#37175F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.120 H 299.2°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#37175F
RGBrgb(55, 23, 95)
HSLhsl(267, 61%, 23%)
HSVhsv(267, 76%, 37%)
CMYKcmyk(42.1%, 75.8%, 0%, 62.7%)
CIE-LABlab(16.75, 31.97, -36.82)
CIE-LCHlch(16.75, 48.76, 310.96°)
OKLaboklab(29.66% 0.0587 -0.1051)
OKLCHoklch(29.66% 0.12 299.2)
XYZxyz(3.9470, 2.2512, 11.0508)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37175F #3F5F17
analogous
#171B5F #37175F #5B175F
triadic
#37175F #5F3717 #175F37
tetradic
#37175F #5F171B #3F5F17 #175F5B
square
#37175F #5F171B #3F5F17 #175F5B
split-complementary
#37175F #5F5B17 #1B5F17
monochromatic
#0E0619 #1A0B2E #37175F #542390 #702FC2

Accessibility & contrast

On white

14.48
#37175F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37175F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37175F#FFFFFF#000000##FFFFFF
##37175F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#2E2939
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37175f;
/* rgb */ color: rgb(55, 23, 95);
/* oklch */ color: oklch(29.7% 0.120 299.2);
Tailwind
colors: {
  custom: {
    50: '#72578d',
    500: '#37175f',
    950: '#000000',
  },
}
SCSS
$custom: #37175f;
$custom-light: #72578d;
$custom-dark: #000000;
JSON
{
  "hex": "#37175f",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 95
  },
  "hsl": {
    "h": 266.667,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29656,
    "c": 0.12036,
    "h": 299.2
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#37175F
secondary
#6E963C
accent
#E4449D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37175F

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

Preview Lab → · Contrast checker → · Palette generator →

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