#6035B2#6035B2

#6035B2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.186 H 293.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6035B2
RGBrgb(96, 53, 178)
HSLhsl(261, 54%, 45%)
HSVhsv(261, 70%, 70%)
CMYKcmyk(46.1%, 70.2%, 0%, 30.2%)
CIE-LABlab(34.49, 47.24, -59.63)
CIE-LCHlch(34.49, 76.08, 308.39°)
OKLaboklab(45.61% 0.0738 -0.1708)
OKLCHoklch(45.61% 0.186 293.4)
XYZxyz(14.1306, 8.2469, 42.9581)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6035B2 #87B235
analogous
#3548B2 #6035B2 #9E35B2
triadic
#6035B2 #B26035 #35B260
tetradic
#6035B2 #B23548 #87B235 #35B29E
square
#6035B2 #B23548 #87B235 #35B29E
split-complementary
#6035B2 #B29E35 #48B235
monochromatic
#2D1954 #472783 #6035B2 #8057CD #A386DB

Accessibility & contrast

On white

7.93
#6035B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6035B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6035B2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6035B2#FFFFFF#000000##FFFFFF
##6035B21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#48546F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6035b2;
/* rgb */ color: rgb(96, 53, 178);
/* oklch */ color: oklch(45.6% 0.186 293.4);
Tailwind
colors: {
  custom: {
    50: '#9470ca',
    500: '#6035b2',
    950: '#000000',
  },
}
SCSS
$custom: #6035b2;
$custom-light: #9470ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6035b2",
  "rgb": {
    "r": 96,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 260.64,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45609,
    "c": 0.18605,
    "h": 293.4
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#6035B2
secondary
#ACC57E
accent
#DD4AAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6035B2

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

Preview Lab → · Contrast checker → · Palette generator →

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