#6F35B6#6F35B6

#6F35B6 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.192 H 299.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6F35B6
RGBrgb(111, 53, 182)
HSLhsl(267, 55%, 46%)
HSVhsv(267, 71%, 71%)
CMYKcmyk(39%, 70.9%, 0%, 28.6%)
CIE-LABlab(36.56, 51.07, -58.56)
CIE-LCHlch(36.56, 77.70, 311.09°)
OKLaboklab(47.58% 0.0947 -0.1671)
OKLCHoklch(47.58% 0.192 299.5)
XYZxyz(16.2700, 9.3029, 45.1854)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F35B6 #7CB635
analogous
#353BB6 #6F35B6 #AF35B6
triadic
#6F35B6 #B66F35 #35B66F
tetradic
#6F35B6 #B6353B #7CB635 #35B6AF
square
#6F35B6 #B6353B #7CB635 #35B6AF
split-complementary
#6F35B6 #B6AF35 #3BB635
monochromatic
#351957 #522787 #6F35B6 #8E59CF #AE89DD

Accessibility & contrast

On white

7.34
#6F35B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6F35B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F35B6
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F35B6#FFFFFF#000000##FFFFFF
##6F35B61.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#5F5472
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f35b6;
/* rgb */ color: rgb(111, 53, 182);
/* oklch */ color: oklch(47.6% 0.192 299.5);
Tailwind
colors: {
  custom: {
    50: '#9e71cd',
    500: '#6f35b6',
    950: '#000000',
  },
}
SCSS
$custom: #6f35b6;
$custom-light: #9e71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f35b6",
  "rgb": {
    "r": 111,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 266.977,
    "s": 54.894,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.19204,
    "h": 299.5
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#6F35B6
secondary
#A7C780
accent
#DE4A9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F35B6

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

Preview Lab → · Contrast checker → · Palette generator →

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