#6E35B1#6E35B1

#6E35B1 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.186 H 300.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6E35B1
RGBrgb(110, 53, 177)
HSLhsl(268, 54%, 45%)
HSVhsv(268, 70%, 69%)
CMYKcmyk(37.9%, 70.1%, 0%, 30.6%)
CIE-LABlab(36.05, 49.61, -56.43)
CIE-LCHlch(36.05, 75.13, 311.32°)
OKLaboklab(47.07% 0.0941 -0.1609)
OKLCHoklch(47.07% 0.186 300.3)
XYZxyz(15.6374, 9.0354, 42.5066)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E35B1 #78B135
analogous
#353AB1 #6E35B1 #AC35B1
triadic
#6E35B1 #B16E35 #35B16E
tetradic
#6E35B1 #B1353A #78B135 #35B1AC
square
#6E35B1 #B1353A #78B135 #35B1AC
split-complementary
#6E35B1 #B1AC35 #3AB135
monochromatic
#331953 #512782 #6E35B1 #8D57CD #AD86DB

Accessibility & contrast

On white

7.48
#6E35B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6E35B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E35B1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E35B1#FFFFFF#000000##FFFFFF
##6E35B11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#5F536F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e35b1;
/* rgb */ color: rgb(110, 53, 177);
/* oklch */ color: oklch(47.1% 0.186 300.3);
Tailwind
colors: {
  custom: {
    50: '#9d71c9',
    500: '#6e35b1',
    950: '#000000',
  },
}
SCSS
$custom: #6e35b1;
$custom-light: #9d71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e35b1",
  "rgb": {
    "r": 110,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 267.581,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.18637,
    "h": 300.3
  },
  "luminance": 0.09036
}

Semantic roles & 50–950 ramp

primary
#6E35B1
secondary
#A4C47D
accent
#DD4B9A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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