#37255E#37255E

#37255E is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.098 H 294.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#37255E
RGBrgb(55, 37, 94)
HSLhsl(259, 44%, 26%)
HSVhsv(259, 61%, 37%)
CMYKcmyk(41.5%, 60.6%, 0%, 63.1%)
CIE-LABlab(19.82, 23.19, -31.20)
CIE-LCHlch(19.82, 38.87, 306.62°)
OKLaboklab(31.85% 0.041 -0.0886)
OKLCHoklch(31.85% 0.098 294.8)
XYZxyz(4.2570, 2.9434, 10.9314)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37255E #4C5E25
analogous
#25305E #37255E #53255E
triadic
#37255E #5E3725 #255E37
tetradic
#37255E #5E2530 #4C5E25 #255E53
square
#37255E #5E2530 #4C5E25 #255E53
split-complementary
#37255E #5E5325 #305E25
monochromatic
#0D0916 #1D1432 #37255E #51368A #6A48B6

Accessibility & contrast

On white

13.22
#37255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#37255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37255E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37255E#FFFFFF#000000##FFFFFF
##37255E1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083060
Deuteranopia (green-blind)
#0E2F5D
Tritanopia (blue-blind)
#2D313D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #37255e;
/* rgb */ color: rgb(55, 37, 94);
/* oklch */ color: oklch(31.8% 0.098 294.8);
Tailwind
colors: {
  custom: {
    50: '#71608c',
    500: '#37255e',
    950: '#000000',
  },
}
SCSS
$custom: #37255e;
$custom-light: #71608c;
$custom-dark: #000000;
JSON
{
  "hex": "#37255e",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 258.947,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31848,
    "c": 0.09762,
    "h": 294.8
  },
  "luminance": 0.02944
}

Semantic roles & 50–950 ramp

primary
#37255E
secondary
#7C914D
accent
#D355AB
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #37255E

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

Preview Lab → · Contrast checker → · Palette generator →

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