#6F4DCB#6F4DCB

#6F4DCB is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.186 H 291.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6F4DCB
RGBrgb(111, 77, 203)
HSLhsl(256, 55%, 55%)
HSVhsv(256, 62%, 80%)
CMYKcmyk(45.3%, 62.1%, 0%, 20.4%)
CIE-LABlab(42.76, 44.05, -60.76)
CIE-LCHlch(42.76, 75.05, 305.94°)
OKLaboklab(52.53% 0.0668 -0.1736)
OKLCHoklch(52.53% 0.186 291)
XYZxyz(19.9859, 12.9984, 57.9442)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DCB #A9CB4D
analogous
#4D6ACB #6F4DCB #AE4DCB
triadic
#6F4DCB #CB6F4D #4DCB6F
tetradic
#6F4DCB #CB4D6A #A9CB4D #4DCBAE
square
#6F4DCB #CB4D6A #A9CB4D #4DCBAE
split-complementary
#6F4DCB #CBAE4D #6ACB4D
monochromatic
#3B247A #5231A9 #6F4DCB #957CD9 #BCACE7

Accessibility & contrast

On white

5.83
#6F4DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6F4DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4DCB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DCB#FFFFFF#000000##FFFFFF
##6F4DCB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#536A85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f4dcb;
/* rgb */ color: rgb(111, 77, 203);
/* oklch */ color: oklch(52.5% 0.186 291.0);
Tailwind
colors: {
  custom: {
    50: '#9f80dc',
    500: '#6f4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #6f4dcb;
$custom-light: #9f80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4dcb",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 256.19,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.18604,
    "h": 291
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#6F4DCB
secondary
#C6D49F
accent
#DE4AB6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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