#6F35BA#6F35BA

#6F35BA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.196 H 298.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6F35BA
RGBrgb(111, 53, 186)
HSLhsl(266, 56%, 47%)
HSVhsv(266, 72%, 73%)
CMYKcmyk(40.3%, 71.5%, 0%, 27.1%)
CIE-LABlab(36.88, 52.08, -60.41)
CIE-LCHlch(36.88, 79.76, 310.76°)
OKLaboklab(47.9% 0.0939 -0.1725)
OKLCHoklch(47.9% 0.196 298.6)
XYZxyz(16.6893, 9.4706, 47.3936)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F35BA #80BA35
analogous
#353EBA #6F35BA #B235BA
triadic
#6F35BA #BA6F35 #35BA6F
tetradic
#6F35BA #BA353E #80BA35 #35BAB2
square
#6F35BA #BA353E #80BA35 #35BAB2
split-complementary
#6F35BA #BAB235 #3EBA35
monochromatic
#361A5B #53278A #6F35BA #8F5CD0 #AF8BDE

Accessibility & contrast

On white

7.26
#6F35BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6F35BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F35BA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F35BA#FFFFFF#000000##FFFFFF
##6F35BA1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#5D5674
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f35ba;
/* rgb */ color: rgb(111, 53, 186);
/* oklch */ color: oklch(47.9% 0.196 298.6);
Tailwind
colors: {
  custom: {
    50: '#9f71d0',
    500: '#6f35ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f35ba;
$custom-light: #9f71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f35ba",
  "rgb": {
    "r": 111,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 266.165,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.19644,
    "h": 298.6
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#6F35BA
secondary
#AAC882
accent
#DF499D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F35BA

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

Preview Lab → · Contrast checker → · Palette generator →

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