#37268B#37268B

#37268B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.158 H 282.7°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#37268B
RGBrgb(55, 38, 139)
HSLhsl(250, 57%, 35%)
HSVhsv(250, 73%, 55%)
CMYKcmyk(60.4%, 72.7%, 0%, 45.5%)
CIE-LABlab(23.88, 36.98, -53.46)
CIE-LCHlch(23.88, 65.00, 304.67°)
OKLaboklab(35.98% 0.0348 -0.154)
OKLCHoklch(35.98% 0.158 282.7)
XYZxyz(6.9274, 4.0621, 24.8401)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37268B #7A8B26
analogous
#26488B #37268B #6A268B
triadic
#37268B #8B3726 #268B37
tetradic
#37268B #8B2648 #7A8B26 #268B6A
square
#37268B #8B2648 #7A8B26 #268B6A
split-complementary
#37268B #8B6A26 #488B26
monochromatic
#110C2B #24195B #37268B #4A33BB #6E5AD2

Accessibility & contrast

On white

11.59
#37268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#37268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37268B
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37268B#FFFFFF#000000##FFFFFF
##37268B1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#014156
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #37268b;
/* rgb */ color: rgb(55, 38, 139);
/* oklch */ color: oklch(36.0% 0.158 282.7);
Tailwind
colors: {
  custom: {
    50: '#7862ae',
    500: '#37268b',
    950: '#000000',
  },
}
SCSS
$custom: #37268b;
$custom-light: #7862ae;
$custom-dark: #000000;
JSON
{
  "hex": "#37268b",
  "rgb": {
    "r": 55,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 250.099,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35981,
    "c": 0.15786,
    "h": 282.7
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#37268B
secondary
#A6B756
accent
#E047C7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #37268B

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

Preview Lab → · Contrast checker → · Palette generator →

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