#6F4DB2#6F4DB2

#6F4DB2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.154 H 296.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6F4DB2
RGBrgb(111, 77, 178)
HSLhsl(260, 40%, 50%)
HSVhsv(260, 57%, 70%)
CMYKcmyk(37.6%, 56.7%, 0%, 30.2%)
CIE-LABlab(41.06, 37.11, -48.92)
CIE-LCHlch(41.06, 61.40, 307.18°)
OKLaboklab(50.75% 0.0676 -0.1388)
OKLCHoklch(50.75% 0.154 296)
XYZxyz(17.2432, 11.9013, 43.4996)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DB2 #90B24D
analogous
#4D5DB2 #6F4DB2 #A24DB2
triadic
#6F4DB2 #B26F4D #4DB26F
tetradic
#6F4DB2 #B24D5D #90B24D #4DB2A2
square
#6F4DB2 #B24D5D #90B24D #4DB2A2
split-complementary
#6F4DB2 #B2A24D #5DB24D
monochromatic
#3A285D #543B87 #6F4DB2 #9278C4 #B4A2D7

Accessibility & contrast

On white

6.21
#6F4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6F4DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4DB2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DB2#FFFFFF#000000##FFFFFF
##6F4DB21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#285FB0
Tritanopia (blue-blind)
#5F6278
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f4db2;
/* rgb */ color: rgb(111, 77, 178);
/* oklch */ color: oklch(50.7% 0.154 296.0);
Tailwind
colors: {
  custom: {
    50: '#9c80ca',
    500: '#6f4db2',
    950: '#000000',
  },
}
SCSS
$custom: #6f4db2;
$custom-light: #9c80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4db2",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 260.198,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.1544,
    "h": 296
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#6F4DB2
secondary
#B5C497
accent
#CF58A7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #6F4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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