#37277C#37277C

#37277C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.7% C 0.137 H 285.4°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#37277C
RGBrgb(55, 39, 124)
HSLhsl(251, 52%, 32%)
HSVhsv(251, 69%, 49%)
CMYKcmyk(55.6%, 68.5%, 0%, 51.4%)
CIE-LABlab(22.72, 31.52, -45.92)
CIE-LCHlch(22.72, 55.70, 304.46°)
OKLaboklab(34.73% 0.0364 -0.1319)
OKLCHoklch(34.73% 0.137 285.4)
XYZxyz(5.9381, 3.7182, 19.4697)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37277C #6C7C27
analogous
#27427C #37277C #62277C
triadic
#37277C #7C3727 #277C37
tetradic
#37277C #7C2742 #6C7C27 #277C62
square
#37277C #7C2742 #6C7C27 #277C62
split-complementary
#37277C #7C6227 #427C27
monochromatic
#0E0A1F #22184D #37277C #4C36AB #6A54C9

Accessibility & contrast

On white

12.04
#37277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#37277C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37277C
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37277C#FFFFFF#000000##FFFFFF
##37277C1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#1A3C4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #37277c;
/* rgb */ color: rgb(55, 39, 124);
/* oklch */ color: oklch(34.7% 0.137 285.4);
Tailwind
colors: {
  custom: {
    50: '#7562a3',
    500: '#37277c',
    950: '#000000',
  },
}
SCSS
$custom: #37277c;
$custom-light: #7562a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37277c",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 251.294,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34726,
    "c": 0.13683,
    "h": 285.4
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #37277C

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

Preview Lab → · Contrast checker → · Palette generator →

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