#6F35B4#6F35B4

#6F35B4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.190 H 300.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6F35B4
RGBrgb(111, 53, 180)
HSLhsl(267, 55%, 46%)
HSVhsv(267, 71%, 71%)
CMYKcmyk(38.3%, 70.6%, 0%, 29.4%)
CIE-LABlab(36.41, 50.56, -57.63)
CIE-LCHlch(36.41, 76.66, 311.26°)
OKLaboklab(47.42% 0.095 -0.1644)
OKLCHoklch(47.42% 0.19 300)
XYZxyz(16.0648, 9.2208, 44.1046)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F35B4 #7AB435
analogous
#353AB4 #6F35B4 #AE35B4
triadic
#6F35B4 #B46F35 #35B46F
tetradic
#6F35B4 #B4353A #7AB435 #35B4AE
square
#6F35B4 #B4353A #7AB435 #35B4AE
split-complementary
#6F35B4 #B4AE35 #3AB435
monochromatic
#351955 #522785 #6F35B4 #8E58CE #AE88DC

Accessibility & contrast

On white

7.38
#6F35B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6F35B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F35B4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F35B4#FFFFFF#000000##FFFFFF
##6F35B41.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#5F5471
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f35b4;
/* rgb */ color: rgb(111, 53, 180);
/* oklch */ color: oklch(47.4% 0.190 300.0);
Tailwind
colors: {
  custom: {
    50: '#9e71cb',
    500: '#6f35b4',
    950: '#000000',
  },
}
SCSS
$custom: #6f35b4;
$custom-light: #9e71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f35b4",
  "rgb": {
    "r": 111,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 267.402,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47418,
    "c": 0.18984,
    "h": 300
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#6F35B4
secondary
#A5C67F
accent
#DE4A9A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F35B4

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

Preview Lab → · Contrast checker → · Palette generator →

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