#6F3CB2#6F3CB2

#6F3CB2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.179 H 299.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6F3CB2
RGBrgb(111, 60, 178)
HSLhsl(266, 50%, 47%)
HSVhsv(266, 66%, 70%)
CMYKcmyk(37.6%, 66.3%, 0%, 30.2%)
CIE-LABlab(37.53, 46.53, -54.62)
CIE-LCHlch(37.53, 71.75, 310.43°)
OKLaboklab(48.17% 0.0878 -0.1555)
OKLCHoklch(48.17% 0.179 299.5)
XYZxyz(16.2053, 9.8254, 43.1536)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3CB2 #7FB23C
analogous
#3C44B2 #6F3CB2 #AA3CB2
triadic
#6F3CB2 #B26F3C #3CB26F
tetradic
#6F3CB2 #B23C44 #7FB23C #3CB2AA
square
#6F3CB2 #B23C44 #7FB23C #3CB2AA
split-complementary
#6F3CB2 #B2AA3C #44B23C
monochromatic
#361D56 #522D84 #6F3CB2 #8F61CA #AF8FD9

Accessibility & contrast

On white

7.08
#6F3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6F3CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3CB2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3CB2#FFFFFF#000000##FFFFFF
##6F3CB21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#605772
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f3cb2;
/* rgb */ color: rgb(111, 60, 178);
/* oklch */ color: oklch(48.2% 0.179 299.5);
Tailwind
colors: {
  custom: {
    50: '#9d75ca',
    500: '#6f3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3cb2;
$custom-light: #9d75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3cb2",
  "rgb": {
    "r": 111,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 265.932,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48174,
    "c": 0.17864,
    "h": 299.5
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#6F3CB2
secondary
#A9C486
accent
#D94F9D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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