#37195F#37195F

#37195F is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.118 H 298.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#37195F
RGBrgb(55, 25, 95)
HSLhsl(266, 58%, 24%)
HSVhsv(266, 74%, 37%)
CMYKcmyk(42.1%, 73.7%, 0%, 62.7%)
CIE-LABlab(17.15, 30.86, -36.18)
CIE-LCHlch(17.15, 47.55, 310.47°)
OKLaboklab(29.94% 0.0564 -0.1032)
OKLCHoklch(29.94% 0.118 298.6)
XYZxyz(3.9882, 2.3337, 11.0646)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37195F #415F19
analogous
#191E5F #37195F #5A195F
triadic
#37195F #5F3719 #195F37
tetradic
#37195F #5F191E #415F19 #195F5A
square
#37195F #5F191E #415F19 #195F5A
split-complementary
#37195F #5F5A19 #1E5F19
monochromatic
#0E0618 #1B0C2F #37195F #53268F #6F32C0

Accessibility & contrast

On white

14.32
#37195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#37195F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37195F
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37195F#FFFFFF#000000##FFFFFF
##37195F1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#2D2A3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #37195f;
/* rgb */ color: rgb(55, 25, 95);
/* oklch */ color: oklch(29.9% 0.118 298.6);
Tailwind
colors: {
  custom: {
    50: '#72588d',
    500: '#37195f',
    950: '#000000',
  },
}
SCSS
$custom: #37195f;
$custom-light: #72588d;
$custom-dark: #000000;
JSON
{
  "hex": "#37195f",
  "rgb": {
    "r": 55,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 265.714,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29937,
    "c": 0.11761,
    "h": 298.6
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#37195F
secondary
#70953F
accent
#E2469F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37195F

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

Preview Lab → · Contrast checker → · Palette generator →

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