#6A35BC#6A35BC

#6A35BC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.198 H 295.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6A35BC
RGBrgb(106, 53, 188)
HSLhsl(264, 56%, 47%)
HSVhsv(264, 72%, 74%)
CMYKcmyk(43.6%, 71.8%, 0%, 26.3%)
CIE-LABlab(36.44, 51.69, -62.31)
CIE-LCHlch(36.44, 80.96, 309.68°)
OKLaboklab(47.51% 0.0863 -0.1783)
OKLCHoklch(47.51% 0.198 295.8)
XYZxyz(16.2916, 9.2408, 48.4925)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A35BC #87BC35
analogous
#3543BC #6A35BC #AE35BC
triadic
#6A35BC #BC6A35 #35BC6A
tetradic
#6A35BC #BC3543 #87BC35 #35BCAE
square
#6A35BC #BC3543 #87BC35 #35BCAE
split-complementary
#6A35BC #BCAE35 #43BC35
monochromatic
#341A5D #4F288C #6A35BC #8B5DD1 #AD8DDF

Accessibility & contrast

On white

7.37
#6A35BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6A35BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A35BC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A35BC#FFFFFF#000000##FFFFFF
##6A35BC1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#545775
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a35bc;
/* rgb */ color: rgb(106, 53, 188);
/* oklch */ color: oklch(47.5% 0.198 295.8);
Tailwind
colors: {
  custom: {
    50: '#9c71d1',
    500: '#6a35bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a35bc;
$custom-light: #9c71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a35bc",
  "rgb": {
    "r": 106,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 263.556,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4751,
    "c": 0.19811,
    "h": 295.8
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#6A35BC
secondary
#AEC984
accent
#DF48A4
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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