#6E35B7#6E35B7

#6E35B7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.193 H 298.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6E35B7
RGBrgb(110, 53, 183)
HSLhsl(266, 55%, 46%)
HSVhsv(266, 71%, 72%)
CMYKcmyk(39.9%, 71%, 0%, 28.2%)
CIE-LABlab(36.52, 51.13, -59.22)
CIE-LCHlch(36.52, 78.24, 310.81°)
OKLaboklab(47.54% 0.093 -0.1691)
OKLCHoklch(47.54% 0.193 298.8)
XYZxyz(16.2486, 9.2799, 45.7257)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E35B7 #7EB735
analogous
#353DB7 #6E35B7 #AF35B7
triadic
#6E35B7 #B76E35 #35B76E
tetradic
#6E35B7 #B7353D #7EB735 #35B7AF
square
#6E35B7 #B7353D #7EB735 #35B7AF
split-complementary
#6E35B7 #B7AF35 #3DB735
monochromatic
#351A58 #512788 #6E35B7 #8D5ACF #AE89DD

Accessibility & contrast

On white

7.35
#6E35B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6E35B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E35B7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E35B7#FFFFFF#000000##FFFFFF
##6E35B71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#5D5572
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e35b7;
/* rgb */ color: rgb(110, 53, 183);
/* oklch */ color: oklch(47.5% 0.193 298.8);
Tailwind
colors: {
  custom: {
    50: '#9e71ce',
    500: '#6e35b7',
    950: '#000000',
  },
}
SCSS
$custom: #6e35b7;
$custom-light: #9e71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e35b7",
  "rgb": {
    "r": 110,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 266.308,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47544,
    "c": 0.193,
    "h": 298.8
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#6E35B7
secondary
#A8C781
accent
#DE499D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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