#6D35B1#6D35B1

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

Color values

HEX#6D35B1
RGBrgb(109, 53, 177)
HSLhsl(267, 54%, 45%)
HSVhsv(267, 70%, 69%)
CMYKcmyk(38.4%, 70.1%, 0%, 30.6%)
CIE-LABlab(35.93, 49.42, -56.63)
CIE-LCHlch(35.93, 75.16, 311.11°)
OKLaboklab(46.95% 0.0927 -0.1615)
OKLCHoklch(46.95% 0.186 299.8)
XYZxyz(15.5136, 8.9716, 42.5008)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D35B1 #79B135
analogous
#353BB1 #6D35B1 #AB35B1
triadic
#6D35B1 #B16D35 #35B16D
tetradic
#6D35B1 #B1353B #79B135 #35B1AB
square
#6D35B1 #B1353B #79B135 #35B1AB
split-complementary
#6D35B1 #B1AB35 #3BB135
monochromatic
#331953 #502782 #6D35B1 #8C57CD #AC86DB

Accessibility & contrast

On white

7.52
#6D35B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6D35B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D35B1
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D35B1#FFFFFF#000000##FFFFFF
##6D35B11.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d35b1;
/* rgb */ color: rgb(109, 53, 177);
/* oklch */ color: oklch(47.0% 0.186 299.8);
Tailwind
colors: {
  custom: {
    50: '#9c71c9',
    500: '#6d35b1',
    950: '#000000',
  },
}
SCSS
$custom: #6d35b1;
$custom-light: #9c71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d35b1",
  "rgb": {
    "r": 109,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 267.097,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.18621,
    "h": 299.8
  },
  "luminance": 0.08972
}

Semantic roles & 50–950 ramp

primary
#6D35B1
secondary
#A4C47D
accent
#DD4B9B
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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