#37247A#37247A

#37247A is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.138 H 286.7°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#37247A
RGBrgb(55, 36, 122)
HSLhsl(253, 54%, 31%)
HSVhsv(253, 70%, 48%)
CMYKcmyk(54.9%, 70.5%, 0%, 52.2%)
CIE-LABlab(21.87, 32.70, -46.04)
CIE-LCHlch(21.87, 56.47, 305.38°)
OKLaboklab(34.06% 0.0397 -0.1322)
OKLCHoklch(34.06% 0.138 286.7)
XYZxyz(5.7182, 3.4788, 18.7788)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37247A #677A24
analogous
#243C7A #37247A #62247A
triadic
#37247A #7A3724 #247A37
tetradic
#37247A #7A243C #677A24 #247A62
square
#37247A #7A243C #677A24 #247A62
split-complementary
#37247A #7A6224 #3C7A24
monochromatic
#0C081B #22164B #37247A #4C32A9 #694ECB

Accessibility & contrast

On white

12.38
#37247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#37247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37247A
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37247A#FFFFFF#000000##FFFFFF
##37247A1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#1C3A4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #37247a;
/* rgb */ color: rgb(55, 36, 122);
/* oklch */ color: oklch(34.1% 0.138 286.7);
Tailwind
colors: {
  custom: {
    50: '#7560a1',
    500: '#37247a',
    950: '#000000',
  },
}
SCSS
$custom: #37247a;
$custom-light: #7560a1;
$custom-dark: #000000;
JSON
{
  "hex": "#37247a",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 253.256,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34059,
    "c": 0.13807,
    "h": 286.7
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#37247A
secondary
#97AC4D
accent
#DE4ABD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37247A

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

Preview Lab → · Contrast checker → · Palette generator →

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