#6A35B5#6A35B5

#6A35B5 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.190 H 297.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6A35B5
RGBrgb(106, 53, 181)
HSLhsl(265, 55%, 46%)
HSVhsv(265, 71%, 71%)
CMYKcmyk(41.4%, 70.7%, 0%, 29%)
CIE-LABlab(35.88, 49.87, -59.10)
CIE-LCHlch(35.88, 77.33, 310.16°)
OKLaboklab(46.93% 0.0877 -0.1689)
OKLCHoklch(46.93% 0.19 297.4)
XYZxyz(15.5553, 8.9463, 44.6144)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35B5 #80B535
analogous
#3540B5 #6A35B5 #AA35B5
triadic
#6A35B5 #B56A35 #35B56A
tetradic
#6A35B5 #B53540 #80B535 #35B5AA
square
#6A35B5 #B53540 #80B535 #35B5AA
split-complementary
#6A35B5 #B5AA35 #40B535
monochromatic
#331956 #4E2786 #6A35B5 #8A59CE #AB88DC

Accessibility & contrast

On white

7.53
#6A35B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6A35B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35B5
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35B5#FFFFFF#000000##FFFFFF
##6A35B51.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#575571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a35b5;
/* rgb */ color: rgb(106, 53, 181);
/* oklch */ color: oklch(46.9% 0.190 297.4);
Tailwind
colors: {
  custom: {
    50: '#9b71cc',
    500: '#6a35b5',
    950: '#000000',
  },
}
SCSS
$custom: #6a35b5;
$custom-light: #9b71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35b5",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 264.844,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46934,
    "c": 0.19027,
    "h": 297.4
  },
  "luminance": 0.08947
}

Semantic roles & 50–950 ramp

primary
#6A35B5
secondary
#A9C680
accent
#DE4AA1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6A35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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