#37135F#37135F

#37135F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.125 H 300.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#37135F
RGBrgb(55, 19, 95)
HSLhsl(268, 67%, 22%)
HSVhsv(268, 80%, 37%)
CMYKcmyk(42.1%, 80%, 0%, 62.7%)
CIE-LABlab(16.02, 34.03, -38.01)
CIE-LCHlch(16.02, 51.01, 311.84°)
OKLaboklab(29.14% 0.0629 -0.1086)
OKLCHoklch(29.14% 0.125 300.1)
XYZxyz(3.8735, 2.1042, 11.0263)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37135F #3B5F13
analogous
#13155F #37135F #5D135F
triadic
#37135F #5F3713 #135F37
tetradic
#37135F #5F1315 #3B5F13 #135F5D
square
#37135F #5F1315 #3B5F13 #135F5D
split-complementary
#37135F #5F5D13 #155F13
monochromatic
#0F051A #19092C #37135F #551D92 #7227C5

Accessibility & contrast

On white

14.78
#37135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#37135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37135F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37135F#FFFFFF#000000##FFFFFF
##37135F1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37135f;
/* rgb */ color: rgb(55, 19, 95);
/* oklch */ color: oklch(29.1% 0.125 300.1);
Tailwind
colors: {
  custom: {
    50: '#72558d',
    500: '#37135f',
    950: '#000000',
  },
}
SCSS
$custom: #37135f;
$custom-light: #72558d;
$custom-dark: #000000;
JSON
{
  "hex": "#37135f",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 268.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2914,
    "c": 0.12547,
    "h": 300.1
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#37135F
secondary
#699737
accent
#EA3E98
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37135F

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

Preview Lab → · Contrast checker → · Palette generator →

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