#37185C#37185C

#37185C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.115 H 300.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#37185C
RGBrgb(55, 24, 92)
HSLhsl(267, 59%, 23%)
HSVhsv(267, 74%, 36%)
CMYKcmyk(40.2%, 73.9%, 0%, 63.9%)
CIE-LABlab(16.69, 30.56, -34.92)
CIE-LCHlch(16.69, 46.41, 311.19°)
OKLaboklab(29.53% 0.0581 -0.0995)
OKLCHoklch(29.53% 0.115 300.3)
XYZxyz(3.8335, 2.2382, 10.3532)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37185C #3D5C18
analogous
#181B5C #37185C #59185C
triadic
#37185C #5C3718 #185C37
tetradic
#37185C #5C181B #3D5C18 #185C59
square
#37185C #5C181B #3D5C18 #185C59
split-complementary
#37185C #5C5918 #1B5C18
monochromatic
#0F0618 #1A0B2B #37185C #54258D #7131BD

Accessibility & contrast

On white

14.51
#37185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#37185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37185C
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37185C#FFFFFF#000000##FFFFFF
##37185C1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#2F2838
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37185c;
/* rgb */ color: rgb(55, 24, 92);
/* oklch */ color: oklch(29.5% 0.115 300.3);
Tailwind
colors: {
  custom: {
    50: '#72578b',
    500: '#37185c',
    950: '#000000',
  },
}
SCSS
$custom: #37185c;
$custom-light: #72578b;
$custom-dark: #000000;
JSON
{
  "hex": "#37185c",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 267.353,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29529,
    "c": 0.11524,
    "h": 300.3
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#37185C
secondary
#6C933D
accent
#E2469B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37185C

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

Preview Lab → · Contrast checker → · Palette generator →

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