#37176F#37176F

#37176F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.140 H 293.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#37176F
RGBrgb(55, 23, 111)
HSLhsl(262, 66%, 26%)
HSVhsv(262, 79%, 44%)
CMYKcmyk(50.5%, 79.3%, 0%, 56.5%)
CIE-LABlab(18.24, 36.57, -44.90)
CIE-LCHlch(18.24, 57.91, 309.17°)
OKLaboklab(31.17% 0.0546 -0.1288)
OKLCHoklch(31.17% 0.14 293)
XYZxyz(4.7504, 2.5726, 15.2821)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37176F #4F6F17
analogous
#17236F #37176F #63176F
triadic
#37176F #6F3717 #176F37
tetradic
#37176F #6F1723 #4F6F17 #176F63
square
#37176F #6F1723 #4F6F17 #176F63
split-complementary
#37176F #6F6317 #236F17
monochromatic
#0D0519 #1E0C3C #37176F #5022A2 #692DD3

Accessibility & contrast

On white

13.87
#37176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#37176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37176F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37176F#FFFFFF#000000##FFFFFF
##37176F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#252F42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #37176f;
/* rgb */ color: rgb(55, 23, 111);
/* oklch */ color: oklch(31.2% 0.140 293.0);
Tailwind
colors: {
  custom: {
    50: '#745899',
    500: '#37176f',
    950: '#000000',
  },
}
SCSS
$custom: #37176f;
$custom-light: #745899;
$custom-dark: #000000;
JSON
{
  "hex": "#37176f",
  "rgb": {
    "r": 55,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 261.818,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31168,
    "c": 0.13993,
    "h": 293
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#37176F
secondary
#7FA53D
accent
#E93FAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #37176F

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

Preview Lab → · Contrast checker → · Palette generator →

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