#6C35AA#6C35AA

#6C35AA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.178 H 301.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6C35AA
RGBrgb(108, 53, 170)
HSLhsl(268, 52%, 44%)
HSVhsv(268, 69%, 67%)
CMYKcmyk(36.5%, 68.8%, 0%, 33.3%)
CIE-LABlab(35.27, 47.45, -53.53)
CIE-LCHlch(35.27, 71.53, 311.55°)
OKLaboklab(46.29% 0.0923 -0.1524)
OKLCHoklch(46.29% 0.178 301.2)
XYZxyz(14.7114, 8.6365, 38.9144)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C35AA #73AA35
analogous
#3539AA #6C35AA #A635AA
triadic
#6C35AA #AA6C35 #35AA6C
tetradic
#6C35AA #AA3539 #73AA35 #35AAA6
square
#6C35AA #AA3539 #73AA35 #35AAA6
split-complementary
#6C35AA #AAA635 #39AA35
monochromatic
#31184D #4E267B #6C35AA #8B53C9 #AA82D8

Accessibility & contrast

On white

7.70
#6C35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6C35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C35AA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C35AA#FFFFFF#000000##FFFFFF
##6C35AA1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#5F506B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6c35aa;
/* rgb */ color: rgb(108, 53, 170);
/* oklch */ color: oklch(46.3% 0.178 301.2);
Tailwind
colors: {
  custom: {
    50: '#9b70c4',
    500: '#6c35aa',
    950: '#000000',
  },
}
SCSS
$custom: #6c35aa;
$custom-light: #9b70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c35aa",
  "rgb": {
    "r": 108,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 268.205,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4629,
    "c": 0.1782,
    "h": 301.2
  },
  "luminance": 0.08637
}

Semantic roles & 50–950 ramp

primary
#6C35AA
secondary
#A0C17A
accent
#DC4C98
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6C35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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