#6037AD#6037AD

#6037AD is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.178 H 294.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6037AD
RGBrgb(96, 55, 173)
HSLhsl(261, 52%, 45%)
HSVhsv(261, 68%, 68%)
CMYKcmyk(44.5%, 68.2%, 0%, 32.2%)
CIE-LABlab(34.47, 44.81, -56.69)
CIE-LCHlch(34.47, 72.27, 308.33°)
OKLaboklab(45.47% 0.0727 -0.1621)
OKLCHoklch(45.47% 0.178 294.1)
XYZxyz(13.7308, 8.2359, 40.3933)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037AD #84AD37
analogous
#3749AD #6037AD #9B37AD
triadic
#6037AD #AD6037 #37AD60
tetradic
#6037AD #AD3749 #84AD37 #37AD9B
square
#6037AD #AD3749 #84AD37 #37AD9B
split-complementary
#6037AD #AD9B37 #49AD37
monochromatic
#2C1950 #46287F #6037AD #7F57CA #A386D8

Accessibility & contrast

On white

7.93
#6037AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6037AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6037AD#FFFFFF#000000##FFFFFF
##6037AD1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#4A546D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6037ad;
/* rgb */ color: rgb(96, 55, 173);
/* oklch */ color: oklch(45.5% 0.178 294.1);
Tailwind
colors: {
  custom: {
    50: '#9471c6',
    500: '#6037ad',
    950: '#000000',
  },
}
SCSS
$custom: #6037ad;
$custom-light: #9471c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6037ad",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 260.847,
    "s": 51.754,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.17767,
    "h": 294.1
  },
  "luminance": 0.08236
}

Semantic roles & 50–950 ramp

primary
#6037AD
secondary
#AAC27D
accent
#DB4DAA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6037AD

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

Preview Lab → · Contrast checker → · Palette generator →

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