#372E64#372E64

#372E64 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.1% C 0.092 H 288.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#372E64
RGBrgb(55, 46, 100)
HSLhsl(250, 37%, 29%)
HSVhsv(250, 54%, 39%)
CMYKcmyk(45%, 54%, 0%, 60.8%)
CIE-LABlab(22.61, 19.08, -30.67)
CIE-LCHlch(22.61, 36.12, 301.89°)
OKLaboklab(34.05% 0.0286 -0.087)
OKLCHoklch(34.05% 0.092 288.2)
XYZxyz(4.8521, 3.6861, 12.5100)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372E64 #5B642E
analogous
#2E4064 #372E64 #522E64
triadic
#372E64 #64372E #2E6437
tetradic
#372E64 #642E40 #5B642E #2E6452
square
#372E64 #642E40 #5B642E #2E6452
split-complementary
#372E64 #64522E #40642E
monochromatic
#0C0A15 #201B3A #372E64 #4E418E #685AB3

Accessibility & contrast

On white

12.09
#372E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#372E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372E64
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372E64#FFFFFF#000000##FFFFFF
##372E641.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173766
Deuteranopia (green-blind)
#173563
Tritanopia (blue-blind)
#2A3944
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372e64;
/* rgb */ color: rgb(55, 46, 100);
/* oklch */ color: oklch(34.1% 0.092 288.2);
Tailwind
colors: {
  custom: {
    50: '#716790',
    500: '#372e64',
    950: '#000000',
  },
}
SCSS
$custom: #372e64;
$custom-light: #716790;
$custom-dark: #000000;
JSON
{
  "hex": "#372e64",
  "rgb": {
    "r": 55,
    "g": 46,
    "b": 100
  },
  "hsl": {
    "h": 250,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34054,
    "c": 0.09161,
    "h": 288.2
  },
  "luminance": 0.03686
}

Semantic roles & 50–950 ramp

primary
#372E64
secondary
#8B9658
accent
#CD5BBA
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08060C
muted
#7B7A7D

Preview Lab

Preview with #372E64

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

Preview Lab → · Contrast checker → · Palette generator →

#372E64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva