#6A35C2#6A35C2

#6A35C2 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.205 H 294.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6A35C2
RGBrgb(106, 53, 194)
HSLhsl(263, 57%, 48%)
HSVhsv(263, 73%, 76%)
CMYKcmyk(45.4%, 72.7%, 0%, 23.9%)
CIE-LABlab(36.94, 53.26, -65.03)
CIE-LCHlch(36.94, 84.06, 309.32°)
OKLaboklab(48.01% 0.0851 -0.1863)
OKLCHoklch(48.01% 0.205 294.5)
XYZxyz(16.9519, 9.5050, 51.9700)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35C2 #8DC235
analogous
#3546C2 #6A35C2 #B035C2
triadic
#6A35C2 #C26A35 #35C26A
tetradic
#6A35C2 #C23546 #8DC235 #35C2B0
square
#6A35C2 #C23546 #8DC235 #35C2B0
split-complementary
#6A35C2 #C2B035 #46C235
monochromatic
#351B62 #502892 #6A35C2 #8C60D4 #AF91E1

Accessibility & contrast

On white

7.24
#6A35C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6A35C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35C2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35C2#FFFFFF#000000##FFFFFF
##6A35C21.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#515A78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a35c2;
/* rgb */ color: rgb(106, 53, 194);
/* oklch */ color: oklch(48.0% 0.205 294.5);
Tailwind
colors: {
  custom: {
    50: '#9c71d5',
    500: '#6a35c2',
    950: '#000000',
  },
}
SCSS
$custom: #6a35c2;
$custom-light: #9c71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35c2",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 262.553,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.20479,
    "h": 294.5
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#6A35C2
secondary
#B2CC87
accent
#E047A7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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