#37148F#37148F

#37148F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.180 H 284.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#37148F
RGBrgb(55, 20, 143)
HSLhsl(257, 75%, 32%)
HSVhsv(257, 86%, 56%)
CMYKcmyk(61.5%, 86%, 0%, 43.9%)
CIE-LABlab(21.19, 47.09, -60.37)
CIE-LCHlch(21.19, 76.56, 307.95°)
OKLaboklab(34.23% 0.0456 -0.174)
OKLCHoklch(34.23% 0.18 284.7)
XYZxyz(6.7821, 3.2953, 26.2599)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37148F #6C8F14
analogous
#142F8F #37148F #75148F
triadic
#37148F #8F3714 #148F37
tetradic
#37148F #8F142F #6C8F14 #148F75
square
#37148F #8F142F #6C8F14 #148F75
split-complementary
#37148F #8F7514 #2F8F14
monochromatic
#0E0524 #220C59 #37148F #4C1CC5 #6A3AE3

Accessibility & contrast

On white

12.66
#37148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#37148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37148F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37148F#FFFFFF#000000##FFFFFF
##37148F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#003B54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #37148f;
/* rgb */ color: rgb(55, 20, 143);
/* oklch */ color: oklch(34.2% 0.180 284.7);
Tailwind
colors: {
  custom: {
    50: '#7a59b1',
    500: '#37148f',
    950: '#000000',
  },
}
SCSS
$custom: #37148f;
$custom-light: #7a59b1;
$custom-dark: #000000;
JSON
{
  "hex": "#37148f",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 257.073,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34228,
    "c": 0.17986,
    "h": 284.7
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#37148F
secondary
#9CC33C
accent
#F236BC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #37148F

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

Preview Lab → · Contrast checker → · Palette generator →

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