#6F35B3#6F35B3

#6F35B3 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.189 H 300.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6F35B3
RGBrgb(111, 53, 179)
HSLhsl(268, 54%, 45%)
HSVhsv(268, 70%, 70%)
CMYKcmyk(38%, 70.4%, 0%, 29.8%)
CIE-LABlab(36.33, 50.31, -57.16)
CIE-LCHlch(36.33, 76.15, 311.35°)
OKLaboklab(47.34% 0.0952 -0.163)
OKLCHoklch(47.34% 0.189 300.3)
XYZxyz(15.9633, 9.1802, 43.5700)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F35B3 #79B335
analogous
#353AB3 #6F35B3 #AE35B3
triadic
#6F35B3 #B36F35 #35B36F
tetradic
#6F35B3 #B3353A #79B335 #35B3AE
square
#6F35B3 #B3353A #79B335 #35B3AE
split-complementary
#6F35B3 #B3AE35 #3AB335
monochromatic
#341955 #522784 #6F35B3 #8E58CD #AE87DB

Accessibility & contrast

On white

7.40
#6F35B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F35B3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F35B3#FFFFFF#000000##FFFFFF
##6F35B31.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#605370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f35b3;
/* rgb */ color: rgb(111, 53, 179);
/* oklch */ color: oklch(47.3% 0.189 300.3);
Tailwind
colors: {
  custom: {
    50: '#9e71cb',
    500: '#6f35b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f35b3;
$custom-light: #9e71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f35b3",
  "rgb": {
    "r": 111,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 267.619,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47339,
    "c": 0.18874,
    "h": 300.3
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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