#6037B2#6037B2

#6037B2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.184 H 293.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6037B2
RGBrgb(96, 55, 178)
HSLhsl(260, 53%, 46%)
HSVhsv(260, 69%, 70%)
CMYKcmyk(46.1%, 69.1%, 0%, 30.2%)
CIE-LABlab(34.87, 46.19, -59.02)
CIE-LCHlch(34.87, 74.95, 308.05°)
OKLaboklab(45.88% 0.0719 -0.169)
OKLCHoklch(45.88% 0.184 293)
XYZxyz(14.2237, 8.4331, 42.9892)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6037B2 #89B237
analogous
#374BB2 #6037B2 #9D37B2
triadic
#6037B2 #B26037 #37B260
tetradic
#6037B2 #B2374B #89B237 #37B29D
square
#6037B2 #B2374B #89B237 #37B29D
split-complementary
#6037B2 #B29D37 #4BB237
monochromatic
#2E1A54 #472983 #6037B2 #805ACC #A489DB

Accessibility & contrast

On white

7.82
#6037B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6037B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6037B2#FFFFFF#000000##FFFFFF
##6037B21.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#485670
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6037b2;
/* rgb */ color: rgb(96, 55, 178);
/* oklch */ color: oklch(45.9% 0.184 293.0);
Tailwind
colors: {
  custom: {
    50: '#9471ca',
    500: '#6037b2',
    950: '#000000',
  },
}
SCSS
$custom: #6037b2;
$custom-light: #9471ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6037b2",
  "rgb": {
    "r": 96,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 260,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.18362,
    "h": 293
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#6037B2
secondary
#AEC580
accent
#DC4CAC
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6037B2

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

Preview Lab → · Contrast checker → · Palette generator →

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