#6F4EBA#6F4EBA

#6F4EBA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.163 H 294.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6F4EBA
RGBrgb(111, 78, 186)
HSLhsl(258, 44%, 52%)
HSVhsv(258, 58%, 73%)
CMYKcmyk(40.3%, 58.1%, 0%, 27.1%)
CIE-LABlab(41.80, 38.73, -52.42)
CIE-LCHlch(41.80, 65.18, 306.45°)
OKLaboklab(51.46% 0.0664 -0.1491)
OKLCHoklch(51.46% 0.163 294)
XYZxyz(18.1405, 12.3730, 47.8773)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4EBA #99BA4E
analogous
#4E63BA #6F4EBA #A54EBA
triadic
#6F4EBA #BA6F4E #4EBA6F
tetradic
#6F4EBA #BA4E63 #99BA4E #4EBAA5
square
#6F4EBA #BA4E63 #99BA4E #4EBAA5
split-complementary
#6F4EBA #BAA54E #63BA4E
monochromatic
#3B2866 #543992 #6F4EBA #937ACB #B7A6DC

Accessibility & contrast

On white

6.04
#6F4EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6F4EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4EBA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4EBA#FFFFFF#000000##FFFFFF
##6F4EBA1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BE
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#5C657C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f4eba;
/* rgb */ color: rgb(111, 78, 186);
/* oklch */ color: oklch(51.5% 0.163 294.0);
Tailwind
colors: {
  custom: {
    50: '#9d81cf',
    500: '#6f4eba',
    950: '#000000',
  },
}
SCSS
$custom: #6f4eba;
$custom-light: #9d81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4eba",
  "rgb": {
    "r": 111,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 258.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.16322,
    "h": 294
  },
  "luminance": 0.12373
}

Semantic roles & 50–950 ramp

primary
#6F4EBA
secondary
#BBCA9A
accent
#D454AD
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6F4EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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