#37147B#37147B

#37147B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.157 H 289.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#37147B
RGBrgb(55, 20, 123)
HSLhsl(260, 72%, 28%)
HSVhsv(260, 84%, 48%)
CMYKcmyk(55.3%, 83.7%, 0%, 51.8%)
CIE-LABlab(18.98, 41.43, -51.41)
CIE-LCHlch(18.98, 66.03, 308.87°)
OKLaboklab(32.05% 0.0531 -0.1479)
OKLCHoklch(32.05% 0.157 289.7)
XYZxyz(5.3998, 2.7423, 18.9799)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37147B #587B14
analogous
#14257B #37147B #6A147B
triadic
#37147B #7B3714 #147B37
tetradic
#37147B #7B1425 #587B14 #147B6A
square
#37147B #7B1425 #587B14 #147B6A
split-complementary
#37147B #7B6A14 #257B14
monochromatic
#0C041A #1F0B46 #37147B #4F1DB0 #682DDD

Accessibility & contrast

On white

13.56
#37147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#37147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37147B
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37147B#FFFFFF#000000##FFFFFF
##37147B1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#1D3348
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #37147b;
/* rgb */ color: rgb(55, 20, 123);
/* oklch */ color: oklch(32.1% 0.157 289.7);
Tailwind
colors: {
  custom: {
    50: '#7757a2',
    500: '#37147b',
    950: '#000000',
  },
}
SCSS
$custom: #37147b;
$custom-light: #7757a2;
$custom-dark: #000000;
JSON
{
  "hex": "#37147b",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 260.388,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32053,
    "c": 0.15709,
    "h": 289.7
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#37147B
secondary
#88B13A
accent
#EF39B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #37147B

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

Preview Lab → · Contrast checker → · Palette generator →

#37147B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva