#6F4BBA#6F4BBA

#6F4BBA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.168 H 294.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6F4BBA
RGBrgb(111, 75, 186)
HSLhsl(259, 45%, 51%)
HSVhsv(259, 60%, 73%)
CMYKcmyk(40.3%, 59.7%, 0%, 27.1%)
CIE-LABlab(41.15, 40.45, -53.48)
CIE-LCHlch(41.15, 67.06, 307.10°)
OKLaboklab(50.98% 0.07 -0.1522)
OKLCHoklch(50.98% 0.168 294.7)
XYZxyz(17.9322, 11.9564, 47.8079)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4BBA #96BA4B
analogous
#4B5EBA #6F4BBA #A64BBA
triadic
#6F4BBA #BA6F4B #4BBA6F
tetradic
#6F4BBA #BA4B5E #96BA4B #4BBAA6
square
#6F4BBA #BA4B5E #96BA4B #4BBAA6
split-complementary
#6F4BBA #BAA64B #5EBA4B
monochromatic
#3A2664 #543790 #6F4BBA #9277CB #B6A3DC

Accessibility & contrast

On white

6.19
#6F4BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6F4BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4BBA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4BBA#FFFFFF#000000##FFFFFF
##6F4BBA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#145FB8
Tritanopia (blue-blind)
#5C637B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f4bba;
/* rgb */ color: rgb(111, 75, 186);
/* oklch */ color: oklch(51.0% 0.168 294.7);
Tailwind
colors: {
  custom: {
    50: '#9d7fcf',
    500: '#6f4bba',
    950: '#000000',
  },
}
SCSS
$custom: #6f4bba;
$custom-light: #9d7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4bba",
  "rgb": {
    "r": 111,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 259.459,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50978,
    "c": 0.16753,
    "h": 294.7
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#6F4BBA
secondary
#B9C998
accent
#D454AB
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6F4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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