#37165E#37165E

#37165E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.120 H 299.9°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#37165E
RGBrgb(55, 22, 94)
HSLhsl(268, 62%, 23%)
HSVhsv(268, 77%, 37%)
CMYKcmyk(41.5%, 76.6%, 0%, 63.1%)
CIE-LABlab(16.48, 32.22, -36.61)
CIE-LCHlch(16.48, 48.76, 311.35°)
OKLaboklab(29.43% 0.06 -0.1045)
OKLCHoklch(29.43% 0.12 299.9)
XYZxyz(3.8823, 2.1942, 10.8065)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37165E #3D5E16
analogous
#16195E #37165E #5B165E
triadic
#37165E #5E3716 #165E37
tetradic
#37165E #5E1619 #3D5E16 #165E5B
square
#37165E #5E1619 #3D5E16 #165E5B
split-complementary
#37165E #5E5B16 #195E16
monochromatic
#0F0619 #1A0A2C #37165E #542290 #712DC1

Accessibility & contrast

On white

14.60
#37165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#37165E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37165E
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37165E#FFFFFF#000000##FFFFFF
##37165E1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#2E2838
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #37165e;
/* rgb */ color: rgb(55, 22, 94);
/* oklch */ color: oklch(29.4% 0.120 299.9);
Tailwind
colors: {
  custom: {
    50: '#72568c',
    500: '#37165e',
    950: '#000000',
  },
}
SCSS
$custom: #37165e;
$custom-light: #72568c;
$custom-dark: #000000;
JSON
{
  "hex": "#37165e",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 267.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2943,
    "c": 0.12046,
    "h": 299.9
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#37165E
secondary
#6C953B
accent
#E5439B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37165E

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

Preview Lab → · Contrast checker → · Palette generator →

#37165E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva