#6035AC#6035AC

#6035AC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.179 H 294.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6035AC
RGBrgb(96, 53, 172)
HSLhsl(262, 53%, 44%)
HSVhsv(262, 69%, 67%)
CMYKcmyk(44.2%, 69.2%, 0%, 32.5%)
CIE-LABlab(34.01, 45.60, -56.85)
CIE-LCHlch(34.01, 72.88, 308.73°)
OKLaboklab(45.11% 0.0749 -0.1626)
OKLCHoklch(45.11% 0.179 294.7)
XYZxyz(13.5414, 8.0112, 39.8546)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6035AC #81AC35
analogous
#3545AC #6035AC #9C35AC
triadic
#6035AC #AC6035 #35AC60
tetradic
#6035AC #AC3545 #81AC35 #35AC9C
square
#6035AC #AC3545 #81AC35 #35AC9C
split-complementary
#6035AC #AC9C35 #45AC35
monochromatic
#2C184E #46277D #6035AC #7F54CA #A283D9

Accessibility & contrast

On white

8.07
#6035AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6035AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6035AC
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6035AC#FFFFFF#000000##FFFFFF
##6035AC1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#4B526C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6035ac;
/* rgb */ color: rgb(96, 53, 172);
/* oklch */ color: oklch(45.1% 0.179 294.7);
Tailwind
colors: {
  custom: {
    50: '#946fc6',
    500: '#6035ac',
    950: '#000000',
  },
}
SCSS
$custom: #6035ac;
$custom-light: #946fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6035ac",
  "rgb": {
    "r": 96,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 261.681,
    "s": 52.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.179,
    "h": 294.7
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#6035AC
secondary
#A8C27B
accent
#DC4CA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6035AC

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

Preview Lab → · Contrast checker → · Palette generator →

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