#6B35AA#6B35AA

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

Color values

HEX#6B35AA
RGBrgb(107, 53, 170)
HSLhsl(268, 52%, 44%)
HSVhsv(268, 69%, 67%)
CMYKcmyk(37.1%, 68.8%, 0%, 33.3%)
CIE-LABlab(35.15, 47.24, -53.73)
CIE-LCHlch(35.15, 71.55, 311.32°)
OKLaboklab(46.18% 0.0909 -0.1531)
OKLCHoklch(46.18% 0.178 300.7)
XYZxyz(14.5904, 8.5742, 38.9087)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B35AA #74AA35
analogous
#353AAA #6B35AA #A535AA
triadic
#6B35AA #AA6B35 #35AA6B
tetradic
#6B35AA #AA353A #74AA35 #35AAA5
square
#6B35AA #AA353A #74AA35 #35AAA5
split-complementary
#6B35AA #AAA535 #3AAA35
monochromatic
#30184D #4E267B #6B35AA #8A53C9 #A982D8

Accessibility & contrast

On white

7.74
#6B35AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6B35AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B35AA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B35AA#FFFFFF#000000##FFFFFF
##6B35AA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b35aa;
/* rgb */ color: rgb(107, 53, 170);
/* oklch */ color: oklch(46.2% 0.178 300.7);
Tailwind
colors: {
  custom: {
    50: '#9a70c4',
    500: '#6b35aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b35aa;
$custom-light: #9a70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b35aa",
  "rgb": {
    "r": 107,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 267.692,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46175,
    "c": 0.17803,
    "h": 300.7
  },
  "luminance": 0.08574
}

Semantic roles & 50–950 ramp

primary
#6B35AA
secondary
#A0C17A
accent
#DC4C99
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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