#37145F#37145F

#37145F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.124 H 299.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#37145F
RGBrgb(55, 20, 95)
HSLhsl(268, 65%, 23%)
HSVhsv(268, 79%, 37%)
CMYKcmyk(42.1%, 78.9%, 0%, 62.7%)
CIE-LABlab(16.20, 33.53, -37.72)
CIE-LCHlch(16.20, 50.47, 311.63°)
OKLaboklab(29.26% 0.0619 -0.1077)
OKLCHoklch(29.26% 0.124 299.9)
XYZxyz(3.8907, 2.1387, 11.0321)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37145F #3C5F14
analogous
#14175F #37145F #5C145F
triadic
#37145F #5F3714 #145F37
tetradic
#37145F #5F1417 #3C5F14 #145F5C
square
#37145F #5F1417 #3C5F14 #145F5C
split-complementary
#37145F #5F5C14 #175F14
monochromatic
#0F0519 #1A092C #37145F #541F92 #7229C4

Accessibility & contrast

On white

14.71
#37145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#37145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37145F
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37145F#FFFFFF#000000##FFFFFF
##37145F1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#2E2738
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37145f;
/* rgb */ color: rgb(55, 20, 95);
/* oklch */ color: oklch(29.3% 0.124 299.9);
Tailwind
colors: {
  custom: {
    50: '#72558d',
    500: '#37145f',
    950: '#000000',
  },
}
SCSS
$custom: #37145f;
$custom-light: #72558d;
$custom-dark: #000000;
JSON
{
  "hex": "#37145f",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 268,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29263,
    "c": 0.12425,
    "h": 299.9
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#37145F
secondary
#6B9738
accent
#E8409A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37145F

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

Preview Lab → · Contrast checker → · Palette generator →

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