#6E35BA#6E35BA

#6E35BA is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.196 H 298.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6E35BA
RGBrgb(110, 53, 186)
HSLhsl(266, 56%, 47%)
HSVhsv(266, 72%, 73%)
CMYKcmyk(40.9%, 71.5%, 0%, 27.1%)
CIE-LABlab(36.75, 51.89, -60.61)
CIE-LCHlch(36.75, 79.79, 310.57°)
OKLaboklab(47.79% 0.0925 -0.1732)
OKLCHoklch(47.79% 0.196 298.1)
XYZxyz(16.5642, 9.4061, 47.3877)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E35BA #81BA35
analogous
#353FBA #6E35BA #B135BA
triadic
#6E35BA #BA6E35 #35BA6E
tetradic
#6E35BA #BA353F #81BA35 #35BAB1
square
#6E35BA #BA353F #81BA35 #35BAB1
split-complementary
#6E35BA #BAB135 #3FBA35
monochromatic
#361A5B #52278A #6E35BA #8E5CD0 #AF8BDE

Accessibility & contrast

On white

7.29
#6E35BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6E35BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E35BA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E35BA#FFFFFF#000000##FFFFFF
##6E35BA1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#5B5674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e35ba;
/* rgb */ color: rgb(110, 53, 186);
/* oklch */ color: oklch(47.8% 0.196 298.1);
Tailwind
colors: {
  custom: {
    50: '#9e71d0',
    500: '#6e35ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e35ba;
$custom-light: #9e71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e35ba",
  "rgb": {
    "r": 110,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 265.714,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47786,
    "c": 0.19631,
    "h": 298.1
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#6E35BA
secondary
#AAC882
accent
#DF499F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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