#6F4ACC#6F4ACC

#6F4ACC is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.191 H 291.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6F4ACC
RGBrgb(111, 74, 204)
HSLhsl(257, 56%, 55%)
HSVhsv(257, 64%, 80%)
CMYKcmyk(45.6%, 63.7%, 0%, 20%)
CIE-LABlab(42.21, 46.00, -62.23)
CIE-LCHlch(42.21, 77.39, 306.47°)
OKLaboklab(52.15% 0.0699 -0.178)
OKLCHoklch(52.15% 0.191 291.4)
XYZxyz(19.9004, 12.6360, 58.5055)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4ACC #A7CC4A
analogous
#4A66CC #6F4ACC #B04ACC
triadic
#6F4ACC #CC6F4A #4ACC6F
tetradic
#6F4ACC #CC4A66 #A7CC4A #4ACCB0
square
#6F4ACC #CC4A66 #A7CC4A #4ACCB0
split-complementary
#6F4ACC #CCB04A #66CC4A
monochromatic
#3B2279 #5230A9 #6F4ACC #957AD9 #BBA9E7

Accessibility & contrast

On white

5.95
#6F4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6F4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4ACC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4ACC#FFFFFF#000000##FFFFFF
##6F4ACC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#536984
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f4acc;
/* rgb */ color: rgb(111, 74, 204);
/* oklch */ color: oklch(52.2% 0.191 291.4);
Tailwind
colors: {
  custom: {
    50: '#9f7edc',
    500: '#6f4acc',
    950: '#000000',
  },
}
SCSS
$custom: #6f4acc;
$custom-light: #9f7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4acc",
  "rgb": {
    "r": 111,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 257.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.19121,
    "h": 291.4
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#6F4ACC
secondary
#C5D49D
accent
#DF48B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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