#6E35A2#6E35A2

#6E35A2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.170 H 304.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6E35A2
RGBrgb(110, 53, 162)
HSLhsl(271, 51%, 42%)
HSVhsv(271, 67%, 64%)
CMYKcmyk(32.1%, 67.3%, 0%, 36.5%)
CIE-LABlab(34.94, 45.88, -49.25)
CIE-LCHlch(34.94, 67.31, 312.97°)
OKLaboklab(45.92% 0.0961 -0.1398)
OKLCHoklch(45.92% 0.17 304.5)
XYZxyz(14.2236, 8.4699, 35.0609)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E35A2 #69A235
analogous
#3735A2 #6E35A2 #A235A0
triadic
#6E35A2 #A26E35 #35A26E
tetradic
#6E35A2 #A23735 #69A235 #35A0A2
square
#6E35A2 #A23735 #69A235 #35A0A2
split-complementary
#6E35A2 #A0A235 #35A237
monochromatic
#2F1746 #4F2674 #6E35A2 #8D4FC5 #AB7DD4

Accessibility & contrast

On white

7.80
#6E35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6E35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E35A2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E35A2#FFFFFF#000000##FFFFFF
##6E35A21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#1152A0
Tritanopia (blue-blind)
#644D67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e35a2;
/* rgb */ color: rgb(110, 53, 162);
/* oklch */ color: oklch(45.9% 0.170 304.5);
Tailwind
colors: {
  custom: {
    50: '#9c70be',
    500: '#6e35a2',
    950: '#000000',
  },
}
SCSS
$custom: #6e35a2;
$custom-light: #9c70be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e35a2",
  "rgb": {
    "r": 110,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 271.376,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.16964,
    "h": 304.5
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#6E35A2
secondary
#98BD75
accent
#DA4E91
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6E35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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