#6F4DCC#6F4DCC

#6F4DCC is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.187 H 290.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6F4DCC
RGBrgb(111, 77, 204)
HSLhsl(256, 55%, 55%)
HSVhsv(256, 62%, 80%)
CMYKcmyk(45.6%, 62.3%, 0%, 20%)
CIE-LABlab(42.83, 44.33, -61.22)
CIE-LCHlch(42.83, 75.59, 305.91°)
OKLaboklab(52.61% 0.0667 -0.175)
OKLCHoklch(52.61% 0.187 290.9)
XYZxyz(20.1055, 13.0462, 58.5739)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DCC #AACC4D
analogous
#4D6ACC #6F4DCC #AF4DCC
triadic
#6F4DCC #CC6F4D #4DCC6F
tetradic
#6F4DCC #CC4D6A #AACC4D #4DCCAF
square
#6F4DCC #CC4D6A #AACC4D #4DCCAF
split-complementary
#6F4DCC #CCAF4D #6ACC4D
monochromatic
#3B237B #5231AB #6F4DCC #957DDA #BCACE7

Accessibility & contrast

On white

5.82
#6F4DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6F4DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4DCC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DCC#FFFFFF#000000##FFFFFF
##6F4DCC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#536B85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f4dcc;
/* rgb */ color: rgb(111, 77, 204);
/* oklch */ color: oklch(52.6% 0.187 290.9);
Tailwind
colors: {
  custom: {
    50: '#9f80dc',
    500: '#6f4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #6f4dcc;
$custom-light: #9f80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4dcc",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 256.063,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.18729,
    "h": 290.9
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#6F4DCC
secondary
#C7D5A0
accent
#DF49B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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