#6A35B2#6A35B2

#6A35B2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.187 H 298.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6A35B2
RGBrgb(106, 53, 178)
HSLhsl(265, 54%, 45%)
HSVhsv(265, 70%, 70%)
CMYKcmyk(40.4%, 70.2%, 0%, 30.2%)
CIE-LABlab(35.64, 49.09, -57.71)
CIE-LCHlch(35.64, 75.76, 310.39°)
OKLaboklab(46.69% 0.0882 -0.1648)
OKLCHoklch(46.69% 0.187 298.2)
XYZxyz(15.2508, 8.8245, 43.0106)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35B2 #7DB235
analogous
#353EB2 #6A35B2 #A835B2
triadic
#6A35B2 #B26A35 #35B26A
tetradic
#6A35B2 #B2353E #7DB235 #35B2A8
square
#6A35B2 #B2353E #7DB235 #35B2A8
split-complementary
#6A35B2 #B2A835 #3EB235
monochromatic
#321954 #4E2783 #6A35B2 #8957CD #AA86DB

Accessibility & contrast

On white

7.59
#6A35B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6A35B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35B2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35B2#FFFFFF#000000##FFFFFF
##6A35B21.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#585370
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a35b2;
/* rgb */ color: rgb(106, 53, 178);
/* oklch */ color: oklch(46.7% 0.187 298.2);
Tailwind
colors: {
  custom: {
    50: '#9b70ca',
    500: '#6a35b2',
    950: '#000000',
  },
}
SCSS
$custom: #6a35b2;
$custom-light: #9b70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35b2",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 265.44,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46692,
    "c": 0.18691,
    "h": 298.2
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#6A35B2
secondary
#A7C57E
accent
#DD4A9F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A35B2

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

Preview Lab → · Contrast checker → · Palette generator →

#6A35B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva