#37165C#37165C

#37165C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.118 H 300.8°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#37165C
RGBrgb(55, 22, 92)
HSLhsl(268, 61%, 22%)
HSVhsv(268, 76%, 36%)
CMYKcmyk(40.2%, 76.1%, 0%, 63.9%)
CIE-LABlab(16.30, 31.66, -35.56)
CIE-LCHlch(16.30, 47.61, 311.68°)
OKLaboklab(29.25% 0.0604 -0.1014)
OKLCHoklch(29.25% 0.118 300.8)
XYZxyz(3.7938, 2.1587, 10.3399)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37165C #3B5C16
analogous
#16185C #37165C #5A165C
triadic
#37165C #5C3716 #165C37
tetradic
#37165C #5C1618 #3B5C16 #165C5A
square
#37165C #5C1618 #3B5C16 #165C5A
split-complementary
#37165C #5C5A16 #185C16
monochromatic
#0F0619 #190A2B #37165C #55228D #722EBF

Accessibility & contrast

On white

14.67
#37165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#37165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37165C
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37165C#FFFFFF#000000##FFFFFF
##37165C1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#2F2737
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37165c;
/* rgb */ color: rgb(55, 22, 92);
/* oklch */ color: oklch(29.3% 0.118 300.8);
Tailwind
colors: {
  custom: {
    50: '#72568b',
    500: '#37165c',
    950: '#000000',
  },
}
SCSS
$custom: #37165c;
$custom-light: #72568b;
$custom-dark: #000000;
JSON
{
  "hex": "#37165c",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 268.286,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2925,
    "c": 0.11802,
    "h": 300.8
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#37165C
secondary
#69933B
accent
#E54399
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37165C

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

Preview Lab → · Contrast checker → · Palette generator →

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