#37165B#37165B

#37165B is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.2% C 0.117 H 301.3°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#37165B
RGBrgb(55, 22, 91)
HSLhsl(269, 61%, 22%)
HSVhsv(269, 76%, 36%)
CMYKcmyk(39.6%, 75.8%, 0%, 64.3%)
CIE-LABlab(16.21, 31.37, -35.03)
CIE-LCHlch(16.21, 47.03, 311.85°)
OKLaboklab(29.16% 0.0606 -0.0998)
OKLCHoklch(29.16% 0.117 301.3)
XYZxyz(3.7503, 2.1414, 10.1112)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37165B #3A5B16
analogous
#16175B #37165B #5A165B
triadic
#37165B #5B3716 #165B37
tetradic
#37165B #5B1617 #3A5B16 #165B5A
square
#37165B #5B1617 #3A5B16 #165B5A
split-complementary
#37165B #5B5A16 #175B16
monochromatic
#0F0619 #190A2A #37165B #55228C #732EBE

Accessibility & contrast

On white

14.70
#37165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37165B
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37165B#FFFFFF#000000##FFFFFF
##37165B1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#2F2736
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #37165b;
/* rgb */ color: rgb(55, 22, 91);
/* oklch */ color: oklch(29.2% 0.117 301.3);
Tailwind
colors: {
  custom: {
    50: '#72568a',
    500: '#37165b',
    950: '#000000',
  },
}
SCSS
$custom: #37165b;
$custom-light: #72568a;
$custom-dark: #000000;
JSON
{
  "hex": "#37165b",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 268.696,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29161,
    "c": 0.11679,
    "h": 301.3
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #37165B

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

Preview Lab → · Contrast checker → · Palette generator →

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