#6D35A2#6D35A2

#6D35A2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.169 H 304.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6D35A2
RGBrgb(109, 53, 162)
HSLhsl(271, 51%, 42%)
HSVhsv(271, 67%, 64%)
CMYKcmyk(32.7%, 67.3%, 0%, 36.5%)
CIE-LABlab(34.81, 45.66, -49.46)
CIE-LCHlch(34.81, 67.31, 312.71°)
OKLaboklab(45.8% 0.0947 -0.1404)
OKLCHoklch(45.8% 0.169 304)
XYZxyz(14.0999, 8.4061, 35.0551)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D35A2 #6AA235
analogous
#3735A2 #6D35A2 #A235A1
triadic
#6D35A2 #A26D35 #35A26D
tetradic
#6D35A2 #A23735 #6AA235 #35A1A2
square
#6D35A2 #A23735 #6AA235 #35A1A2
split-complementary
#6D35A2 #A1A235 #35A237
monochromatic
#2F1746 #4E2674 #6D35A2 #8C4FC5 #AA7DD4

Accessibility & contrast

On white

7.83
#6D35A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6D35A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D35A2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D35A2#FFFFFF#000000##FFFFFF
##6D35A21.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0E52A0
Tritanopia (blue-blind)
#634D67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d35a2;
/* rgb */ color: rgb(109, 53, 162);
/* oklch */ color: oklch(45.8% 0.169 304.0);
Tailwind
colors: {
  custom: {
    50: '#9b70be',
    500: '#6d35a2',
    950: '#000000',
  },
}
SCSS
$custom: #6d35a2;
$custom-light: #9b70be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d35a2",
  "rgb": {
    "r": 109,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 270.826,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45803,
    "c": 0.16941,
    "h": 304
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D35A2

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

Preview Lab → · Contrast checker → · Palette generator →

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