#6037AB#6037AB

#6037AB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.3% C 0.175 H 294.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6037AB
RGBrgb(96, 55, 171)
HSLhsl(261, 51%, 44%)
HSVhsv(261, 68%, 67%)
CMYKcmyk(43.9%, 67.8%, 0%, 32.9%)
CIE-LABlab(34.31, 44.26, -55.75)
CIE-LCHlch(34.31, 71.19, 308.45°)
OKLaboklab(45.31% 0.073 -0.1594)
OKLCHoklch(45.31% 0.175 294.6)
XYZxyz(13.5388, 8.1591, 39.3817)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037AB #82AB37
analogous
#3748AB #6037AB #9A37AB
triadic
#6037AB #AB6037 #37AB60
tetradic
#6037AB #AB3748 #82AB37 #37AB9A
square
#6037AB #AB3748 #82AB37 #37AB9A
split-complementary
#6037AB #AB9A37 #48AB37
monochromatic
#2C194E #46287D #6037AB #7F56C9 #A285D8

Accessibility & contrast

On white

7.98
#6037AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6037AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6037AB#FFFFFF#000000##FFFFFF
##6037AB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#4B536C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6037ab;
/* rgb */ color: rgb(96, 55, 171);
/* oklch */ color: oklch(45.3% 0.175 294.6);
Tailwind
colors: {
  custom: {
    50: '#9371c5',
    500: '#6037ab',
    950: '#000000',
  },
}
SCSS
$custom: #6037ab;
$custom-light: #9371c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6037ab",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 261.207,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45306,
    "c": 0.17529,
    "h": 294.6
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

primary
#6037AB
secondary
#A9C17C
accent
#DB4DA9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6037AB

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

Preview Lab → · Contrast checker → · Palette generator →

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