#6A35CA#6A35CA

#6A35CA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.7% C 0.214 H 292.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6A35CA
RGBrgb(106, 53, 202)
HSLhsl(261, 58%, 50%)
HSVhsv(261, 74%, 79%)
CMYKcmyk(47.5%, 73.8%, 0%, 20.8%)
CIE-LABlab(37.62, 55.36, -68.59)
CIE-LCHlch(37.62, 88.14, 308.91°)
OKLaboklab(48.7% 0.0832 -0.1967)
OKLCHoklch(48.7% 0.214 292.9)
XYZxyz(17.8747, 9.8740, 56.8297)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35CA #95CA35
analogous
#354BCA #6A35CA #B435CA
triadic
#6A35CA #CA6A35 #35CA6A
tetradic
#6A35CA #CA354B #95CA35 #35CAB4
square
#6A35CA #CA354B #95CA35 #35CAB4
split-complementary
#6A35CA #CAB435 #4BCA35
monochromatic
#371C69 #51289A #6A35CA #8E65D7 #B296E3

Accessibility & contrast

On white

7.06
#6A35CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6A35CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35CA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35CA#FFFFFF#000000##FFFFFF
##6A35CA1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#4C5D7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a35ca;
/* rgb */ color: rgb(106, 53, 202);
/* oklch */ color: oklch(48.7% 0.214 292.9);
Tailwind
colors: {
  custom: {
    50: '#9d71db',
    500: '#6a35ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a35ca;
$custom-light: #9d71db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35ca",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 261.342,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.487,
    "c": 0.21361,
    "h": 292.9
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#6A35CA
secondary
#B7CF8C
accent
#E246AA
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A35CA

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

Preview Lab → · Contrast checker → · Palette generator →

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