#6F35B8#6F35B8

#6F35B8 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.194 H 299.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6F35B8
RGBrgb(111, 53, 184)
HSLhsl(267, 55%, 46%)
HSVhsv(267, 71%, 72%)
CMYKcmyk(39.7%, 71.2%, 0%, 27.8%)
CIE-LABlab(36.72, 51.57, -59.48)
CIE-LCHlch(36.72, 78.73, 310.92°)
OKLaboklab(47.74% 0.0943 -0.1698)
OKLCHoklch(47.74% 0.194 299)
XYZxyz(16.4782, 9.3862, 46.2817)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F35B8 #7EB835
analogous
#353DB8 #6F35B8 #B135B8
triadic
#6F35B8 #B86F35 #35B86F
tetradic
#6F35B8 #B8353D #7EB835 #35B8B1
square
#6F35B8 #B8353D #7EB835 #35B8B1
split-complementary
#6F35B8 #B8B135 #3DB835
monochromatic
#361A59 #522788 #6F35B8 #8E5BD0 #AF8ADD

Accessibility & contrast

On white

7.30
#6F35B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6F35B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F35B8
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F35B8#FFFFFF#000000##FFFFFF
##6F35B81.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f35b8;
/* rgb */ color: rgb(111, 53, 184);
/* oklch */ color: oklch(47.7% 0.194 299.0);
Tailwind
colors: {
  custom: {
    50: '#9e71ce',
    500: '#6f35b8',
    950: '#000000',
  },
}
SCSS
$custom: #6f35b8;
$custom-light: #9e71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f35b8",
  "rgb": {
    "r": 111,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 266.565,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47737,
    "c": 0.19424,
    "h": 299
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#6F35B8
secondary
#A8C781
accent
#DF499C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F35B8

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

Preview Lab → · Contrast checker → · Palette generator →

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