#6035C2#6035C2

#6035C2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.205 H 290.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6035C2
RGBrgb(96, 53, 194)
HSLhsl(258, 57%, 48%)
HSVhsv(258, 73%, 76%)
CMYKcmyk(50.5%, 72.7%, 0%, 23.9%)
CIE-LABlab(35.84, 51.64, -66.86)
CIE-LCHlch(35.84, 84.48, 307.68°)
OKLaboklab(46.99% 0.0705 -0.192)
OKLCHoklch(46.99% 0.205 290.2)
XYZxyz(15.8318, 8.9274, 51.9174)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6035C2 #97C235
analogous
#3550C2 #6035C2 #A635C2
triadic
#6035C2 #C26035 #35C260
tetradic
#6035C2 #C23550 #97C235 #35C2A6
square
#6035C2 #C23550 #97C235 #35C2A6
split-complementary
#6035C2 #C2A635 #50C235
monochromatic
#301B62 #482892 #6035C2 #8460D4 #A991E1

Accessibility & contrast

On white

7.54
#6035C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6035C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6035C2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6035C2#FFFFFF#000000##FFFFFF
##6035C21.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#3E5B78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6035c2;
/* rgb */ color: rgb(96, 53, 194);
/* oklch */ color: oklch(47.0% 0.205 290.2);
Tailwind
colors: {
  custom: {
    50: '#9670d6',
    500: '#6035c2',
    950: '#000000',
  },
}
SCSS
$custom: #6035c2;
$custom-light: #9670d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6035c2",
  "rgb": {
    "r": 96,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 258.298,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46987,
    "c": 0.20455,
    "h": 290.2
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#6035C2
secondary
#B7CC87
accent
#E047B2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6035C2

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

Preview Lab → · Contrast checker → · Palette generator →

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