#37145C#37145C

#37145C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.121 H 301.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#37145C
RGBrgb(55, 20, 92)
HSLhsl(269, 64%, 22%)
HSVhsv(269, 78%, 36%)
CMYKcmyk(40.2%, 78.3%, 0%, 63.9%)
CIE-LABlab(15.93, 32.70, -36.16)
CIE-LCHlch(15.93, 48.75, 312.12°)
OKLaboklab(28.99% 0.0626 -0.1031)
OKLCHoklch(28.99% 0.121 301.3)
XYZxyz(3.7570, 2.0852, 10.3277)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37145C #395C14
analogous
#14155C #37145C #5B145C
triadic
#37145C #5C3714 #145C37
tetradic
#37145C #5C1415 #395C14 #145C5B
square
#37145C #5C1415 #395C14 #145C5B
split-complementary
#37145C #5C5B14 #155C14
monochromatic
#0F0519 #19092A #37145C #551F8E #732AC1

Accessibility & contrast

On white

14.82
#37145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#37145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37145C
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37145C#FFFFFF#000000##FFFFFF
##37145C1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#2F2636
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37145c;
/* rgb */ color: rgb(55, 20, 92);
/* oklch */ color: oklch(29.0% 0.121 301.3);
Tailwind
colors: {
  custom: {
    50: '#72558b',
    500: '#37145c',
    950: '#000000',
  },
}
SCSS
$custom: #37145c;
$custom-light: #72558b;
$custom-dark: #000000;
JSON
{
  "hex": "#37145c",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 269.167,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28987,
    "c": 0.12066,
    "h": 301.3
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#37145C
secondary
#679438
accent
#E74196
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37145C

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

Preview Lab → · Contrast checker → · Palette generator →

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