#6035BA#6035BA

#6035BA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.195 H 291.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6035BA
RGBrgb(96, 53, 186)
HSLhsl(259, 56%, 47%)
HSVhsv(259, 72%, 73%)
CMYKcmyk(48.4%, 71.5%, 0%, 27.1%)
CIE-LABlab(35.16, 49.44, -63.28)
CIE-LCHlch(35.16, 80.30, 308.00°)
OKLaboklab(46.29% 0.0723 -0.1815)
OKLCHoklch(46.29% 0.195 291.7)
XYZxyz(14.9574, 8.5776, 47.3124)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6035BA #8FBA35
analogous
#354DBA #6035BA #A335BA
triadic
#6035BA #BA6035 #35BA60
tetradic
#6035BA #BA354D #8FBA35 #35BAA3
square
#6035BA #BA354D #8FBA35 #35BAA3
split-complementary
#6035BA #BAA335 #4DBA35
monochromatic
#2F1A5B #47278A #6035BA #815CD0 #A68BDE

Accessibility & contrast

On white

7.73
#6035BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6035BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6035BA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6035BA#FFFFFF#000000##FFFFFF
##6035BA1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#435774
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6035ba;
/* rgb */ color: rgb(96, 53, 186);
/* oklch */ color: oklch(46.3% 0.195 291.7);
Tailwind
colors: {
  custom: {
    50: '#9570d0',
    500: '#6035ba',
    950: '#000000',
  },
}
SCSS
$custom: #6035ba;
$custom-light: #9570d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6035ba",
  "rgb": {
    "r": 96,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 259.398,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4629,
    "c": 0.19535,
    "h": 291.7
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#6035BA
secondary
#B2C882
accent
#DF49AE
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6035BA

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

Preview Lab → · Contrast checker → · Palette generator →

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