#6037AA#6037AA

#6037AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.174 H 294.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6037AA
RGBrgb(96, 55, 170)
HSLhsl(261, 51%, 44%)
HSVhsv(261, 68%, 67%)
CMYKcmyk(43.5%, 67.6%, 0%, 33.3%)
CIE-LABlab(34.23, 43.99, -55.28)
CIE-LCHlch(34.23, 70.65, 308.51°)
OKLaboklab(45.23% 0.0731 -0.158)
OKLCHoklch(45.23% 0.174 294.8)
XYZxyz(13.4438, 8.1211, 38.8816)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037AA #81AA37
analogous
#3748AA #6037AA #9A37AA
triadic
#6037AA #AA6037 #37AA60
tetradic
#6037AA #AA3748 #81AA37 #37AA9A
square
#6037AA #AA3748 #81AA37 #37AA9A
split-complementary
#6037AA #AA9A37 #48AA37
monochromatic
#2C194E #46287C #6037AA #7F56C8 #A284D7

Accessibility & contrast

On white

8.00
#6037AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6037AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6037AA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6037AA#FFFFFF#000000##FFFFFF
##6037AA1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#4C536C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6037aa;
/* rgb */ color: rgb(96, 55, 170);
/* oklch */ color: oklch(45.2% 0.174 294.8);
Tailwind
colors: {
  custom: {
    50: '#9371c4',
    500: '#6037aa',
    950: '#000000',
  },
}
SCSS
$custom: #6037aa;
$custom-light: #9371c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6037aa",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 261.391,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45225,
    "c": 0.17409,
    "h": 294.8
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#6037AA
secondary
#A8C17C
accent
#DB4DA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6037AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6037AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva