#37267C#37267C

#37267C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.138 H 285.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#37267C
RGBrgb(55, 38, 124)
HSLhsl(252, 53%, 32%)
HSVhsv(252, 69%, 49%)
CMYKcmyk(55.6%, 69.4%, 0%, 51.4%)
CIE-LABlab(22.49, 32.13, -46.29)
CIE-LCHlch(22.49, 56.35, 304.76°)
OKLaboklab(34.56% 0.0374 -0.133)
OKLCHoklch(34.56% 0.138 285.7)
XYZxyz(5.9057, 3.6534, 19.4589)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37267C #6B7C26
analogous
#26407C #37267C #62267C
triadic
#37267C #7C3726 #267C37
tetradic
#37267C #7C2640 #6B7C26 #267C62
square
#37267C #7C2640 #6B7C26 #267C62
split-complementary
#37267C #7C6226 #407C26
monochromatic
#0D091E #22184D #37267C #4C34AB #6A52CA

Accessibility & contrast

On white

12.13
#37267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#37267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37267C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37267C#FFFFFF#000000##FFFFFF
##37267C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#1A3C4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #37267c;
/* rgb */ color: rgb(55, 38, 124);
/* oklch */ color: oklch(34.6% 0.138 285.7);
Tailwind
colors: {
  custom: {
    50: '#7562a3',
    500: '#37267c',
    950: '#000000',
  },
}
SCSS
$custom: #37267c;
$custom-light: #7562a3;
$custom-dark: #000000;
JSON
{
  "hex": "#37267c",
  "rgb": {
    "r": 55,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 251.86,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34562,
    "c": 0.13814,
    "h": 285.7
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#37267C
secondary
#9BAE50
accent
#DC4BC0
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #37267C

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

Preview Lab → · Contrast checker → · Palette generator →

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