#37277D#37277D

#37277D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.138 H 285.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#37277D
RGBrgb(55, 39, 125)
HSLhsl(251, 52%, 32%)
HSVhsv(251, 69%, 49%)
CMYKcmyk(56%, 68.8%, 0%, 51%)
CIE-LABlab(22.80, 31.84, -46.41)
CIE-LCHlch(22.80, 56.28, 304.45°)
OKLaboklab(34.82% 0.0363 -0.1333)
OKLCHoklch(34.82% 0.138 285.2)
XYZxyz(6.0016, 3.7436, 19.8044)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37277D #6D7D27
analogous
#27427D #37277D #62277D
triadic
#37277D #7D3727 #277D37
tetradic
#37277D #7D2742 #6D7D27 #277D62
square
#37277D #7D2742 #6D7D27 #277D62
split-complementary
#37277D #7D6227 #427D27
monochromatic
#0E0A20 #22184E #37277D #4C36AC #6A55CA

Accessibility & contrast

On white

12.01
#37277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#37277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37277D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37277D#FFFFFF#000000##FFFFFF
##37277D1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#193D4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #37277d;
/* rgb */ color: rgb(55, 39, 125);
/* oklch */ color: oklch(34.8% 0.138 285.2);
Tailwind
colors: {
  custom: {
    50: '#7562a3',
    500: '#37277d',
    950: '#000000',
  },
}
SCSS
$custom: #37277d;
$custom-light: #7562a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37277d",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 251.163,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34816,
    "c": 0.13818,
    "h": 285.2
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#37277D
secondary
#9DAF51
accent
#DC4CC1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37277D

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

Preview Lab → · Contrast checker → · Palette generator →

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