#37276F#37276F

#37276F is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.119 H 288.5°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#37276F
RGBrgb(55, 39, 111)
HSLhsl(253, 48%, 29%)
HSVhsv(253, 65%, 44%)
CMYKcmyk(50.5%, 64.9%, 0%, 56.5%)
CIE-LABlab(21.62, 27.29, -39.39)
CIE-LCHlch(21.62, 47.92, 304.71°)
OKLaboklab(33.59% 0.0378 -0.1127)
OKLCHoklch(33.59% 0.119 288.5)
XYZxyz(5.1695, 3.4107, 15.4218)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37276F #5F6F27
analogous
#273B6F #37276F #5B276F
triadic
#37276F #6F3727 #276F37
tetradic
#37276F #6F273B #5F6F27 #276F5B
square
#37276F #6F273B #5F6F27 #276F5B
split-complementary
#37276F #6F5B27 #3B6F27
monochromatic
#0B0817 #211742 #37276F #4D379C #694FC1

Accessibility & contrast

On white

12.48
#37276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#37276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37276F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37276F#FFFFFF#000000##FFFFFF
##37276F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#243847
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #37276f;
/* rgb */ color: rgb(55, 39, 111);
/* oklch */ color: oklch(33.6% 0.119 288.5);
Tailwind
colors: {
  custom: {
    50: '#736299',
    500: '#37276f',
    950: '#000000',
  },
}
SCSS
$custom: #37276f;
$custom-light: #736299;
$custom-dark: #000000;
JSON
{
  "hex": "#37276f",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 253.333,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.11887,
    "h": 288.5
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#37276F
secondary
#8FA250
accent
#D850BA
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #37276F

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

Preview Lab → · Contrast checker → · Palette generator →

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