#37277A#37277A

#37277A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.5% C 0.134 H 285.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#37277A
RGBrgb(55, 39, 122)
HSLhsl(252, 52%, 32%)
HSVhsv(252, 68%, 48%)
CMYKcmyk(54.9%, 68%, 0%, 52.2%)
CIE-LABlab(22.54, 30.86, -44.94)
CIE-LCHlch(22.54, 54.51, 304.48°)
OKLaboklab(34.54% 0.0367 -0.129)
OKLCHoklch(34.54% 0.134 285.9)
XYZxyz(5.8129, 3.6681, 18.8103)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37277A #6A7A27
analogous
#27417A #37277A #61277A
triadic
#37277A #7A3727 #277A37
tetradic
#37277A #7A2741 #6A7A27 #277A61
square
#37277A #7A2741 #6A7A27 #277A61
split-complementary
#37277A #7A6127 #417A27
monochromatic
#0D091D #22184C #37277A #4C36A8 #6A53C8

Accessibility & contrast

On white

12.11
#37277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#37277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37277A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37277A#FFFFFF#000000##FFFFFF
##37277A1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#1C3C4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #37277a;
/* rgb */ color: rgb(55, 39, 122);
/* oklch */ color: oklch(34.5% 0.134 285.9);
Tailwind
colors: {
  custom: {
    50: '#7562a1',
    500: '#37277a',
    950: '#000000',
  },
}
SCSS
$custom: #37277a;
$custom-light: #7562a1;
$custom-dark: #000000;
JSON
{
  "hex": "#37277a",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 251.566,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34545,
    "c": 0.13411,
    "h": 285.9
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#37277A
secondary
#9AAC51
accent
#DB4DC0
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37277A

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

Preview Lab → · Contrast checker → · Palette generator →

#37277A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva