#37185A#37185A

#37185A is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.113 H 301.2°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#37185A
RGBrgb(55, 24, 90)
HSLhsl(268, 58%, 22%)
HSVhsv(268, 73%, 35%)
CMYKcmyk(38.9%, 73.3%, 0%, 64.7%)
CIE-LABlab(16.52, 29.99, -33.86)
CIE-LCHlch(16.52, 45.23, 311.54°)
OKLaboklab(29.35% 0.0584 -0.0964)
OKLCHoklch(29.35% 0.113 301.2)
XYZxyz(3.7472, 2.2037, 9.8988)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37185A #3B5A18
analogous
#181A5A #37185A #58185A
triadic
#37185A #5A3718 #185A37
tetradic
#37185A #5A181A #3B5A18 #185A58
square
#37185A #5A181A #3B5A18 #185A58
split-complementary
#37185A #5A5818 #1A5A18
monochromatic
#0F0618 #190B2A #37185A #55258A #7232BB

Accessibility & contrast

On white

14.58
#37185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#37185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37185A
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37185A#FFFFFF#000000##FFFFFF
##37185A1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#2F2737
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37185a;
/* rgb */ color: rgb(55, 24, 90);
/* oklch */ color: oklch(29.4% 0.113 301.2);
Tailwind
colors: {
  custom: {
    50: '#715789',
    500: '#37185a',
    950: '#000000',
  },
}
SCSS
$custom: #37185a;
$custom-light: #715789;
$custom-dark: #000000;
JSON
{
  "hex": "#37185a",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 268.182,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29355,
    "c": 0.11272,
    "h": 301.2
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#37185A
secondary
#69913D
accent
#E14799
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #37185A

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

Preview Lab → · Contrast checker → · Palette generator →

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