#6D35B8#6D35B8

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

Color values

HEX#6D35B8
RGBrgb(109, 53, 184)
HSLhsl(266, 55%, 46%)
HSVhsv(266, 71%, 72%)
CMYKcmyk(40.8%, 71.2%, 0%, 27.8%)
CIE-LABlab(36.48, 51.20, -59.89)
CIE-LCHlch(36.48, 78.79, 310.53°)
OKLaboklab(47.51% 0.0914 -0.1711)
OKLCHoklch(47.51% 0.194 298.1)
XYZxyz(16.2293, 9.2579, 46.2700)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D35B8 #80B835
analogous
#353FB8 #6D35B8 #AF35B8
triadic
#6D35B8 #B86D35 #35B86D
tetradic
#6D35B8 #B8353F #80B835 #35B8AF
square
#6D35B8 #B8353F #80B835 #35B8AF
split-complementary
#6D35B8 #B8AF35 #3FB835
monochromatic
#351A59 #512788 #6D35B8 #8D5BD0 #AE8ADD

Accessibility & contrast

On white

7.36
#6D35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6D35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D35B8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D35B8#FFFFFF#000000##FFFFFF
##6D35B81.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#5B5573
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d35b8;
/* rgb */ color: rgb(109, 53, 184);
/* oklch */ color: oklch(47.5% 0.194 298.1);
Tailwind
colors: {
  custom: {
    50: '#9d71ce',
    500: '#6d35b8',
    950: '#000000',
  },
}
SCSS
$custom: #6d35b8;
$custom-light: #9d71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d35b8",
  "rgb": {
    "r": 109,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 265.649,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.19398,
    "h": 298.1
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

primary
#6D35B8
secondary
#A9C781
accent
#DF499F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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