#6F3BB5#6F3BB5

#6F3BB5 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.183 H 298.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6F3BB5
RGBrgb(111, 59, 181)
HSLhsl(266, 51%, 47%)
HSVhsv(266, 67%, 71%)
CMYKcmyk(38.7%, 67.4%, 0%, 29%)
CIE-LABlab(37.56, 47.82, -56.34)
CIE-LCHlch(37.56, 73.90, 310.32°)
OKLaboklab(48.27% 0.0886 -0.1606)
OKLCHoklch(48.27% 0.183 298.9)
XYZxyz(16.4579, 9.8434, 44.7400)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3BB5 #81B53B
analogous
#3B44B5 #6F3BB5 #AC3BB5
triadic
#6F3BB5 #B56F3B #3BB56F
tetradic
#6F3BB5 #B53B44 #81B53B #3BB5AC
square
#6F3BB5 #B53B44 #81B53B #3BB5AC
split-complementary
#6F3BB5 #B5AC3B #44B53B
monochromatic
#361D59 #532C87 #6F3BB5 #8F62CC #B090DB

Accessibility & contrast

On white

7.07
#6F3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F3BB5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3BB5#FFFFFF#000000##FFFFFF
##6F3BB51.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#5F5873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f3bb5;
/* rgb */ color: rgb(111, 59, 181);
/* oklch */ color: oklch(48.3% 0.183 298.9);
Tailwind
colors: {
  custom: {
    50: '#9e74cc',
    500: '#6f3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #6f3bb5;
$custom-light: #9e74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3bb5",
  "rgb": {
    "r": 111,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 265.574,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48267,
    "c": 0.18341,
    "h": 298.9
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#6F3BB5
secondary
#ABC686
accent
#DA4D9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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