#6037BA#6037BA

#6037BA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.193 H 291.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6037BA
RGBrgb(96, 55, 186)
HSLhsl(259, 54%, 47%)
HSVhsv(259, 70%, 73%)
CMYKcmyk(48.4%, 70.4%, 0%, 27.1%)
CIE-LABlab(35.53, 48.41, -62.68)
CIE-LCHlch(35.53, 79.20, 307.68°)
OKLaboklab(46.55% 0.0704 -0.1797)
OKLCHoklch(46.55% 0.193 291.4)
XYZxyz(15.0505, 8.7638, 47.3434)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037BA #91BA37
analogous
#374FBA #6037BA #A237BA
triadic
#6037BA #BA6037 #37BA60
tetradic
#6037BA #BA374F #91BA37 #37BAA2
square
#6037BA #BA374F #91BA37 #37BAA2
split-complementary
#6037BA #BAA237 #4FBA37
monochromatic
#2F1B5C #48298B #6037BA #825FD0 #A78EDE

Accessibility & contrast

On white

7.63
#6037BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6037BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6037BA#FFFFFF#000000##FFFFFF
##6037BA1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#435974
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6037ba;
/* rgb */ color: rgb(96, 55, 186);
/* oklch */ color: oklch(46.6% 0.193 291.4);
Tailwind
colors: {
  custom: {
    50: '#9571d0',
    500: '#6037ba',
    950: '#000000',
  },
}
SCSS
$custom: #6037ba;
$custom-light: #9571d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6037ba",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 258.779,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46551,
    "c": 0.19305,
    "h": 291.4
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#6037BA
secondary
#B3C885
accent
#DE4AB0
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6037BA

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

Preview Lab → · Contrast checker → · Palette generator →

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