#6F4CAC#6F4CAC

#6F4CAC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.148 H 297.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#6F4CAC
RGBrgb(111, 76, 172)
HSLhsl(262, 39%, 49%)
HSVhsv(262, 56%, 67%)
CMYKcmyk(35.5%, 55.8%, 0%, 32.5%)
CIE-LABlab(40.45, 36.06, -46.35)
CIE-LCHlch(40.45, 58.73, 307.89°)
OKLaboklab(50.18% 0.0687 -0.1313)
OKLCHoklch(50.18% 0.148 297.6)
XYZxyz(16.5845, 11.5267, 40.3728)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4CAC #89AC4C
analogous
#4C59AC #6F4CAC #9F4CAC
triadic
#6F4CAC #AC6F4C #4CAC6F
tetradic
#6F4CAC #AC4C59 #89AC4C #4CAC9F
square
#6F4CAC #AC4C59 #89AC4C #4CAC9F
split-complementary
#6F4CAC #AC9F4C #59AC4C
monochromatic
#382657 #543982 #6F4CAC #9074C1 #B29ED4

Accessibility & contrast

On white

6.35
#6F4CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6F4CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4CAC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4CAC#FFFFFF#000000##FFFFFF
##6F4CAC1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#2D5EAA
Tritanopia (blue-blind)
#616074
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f4cac;
/* rgb */ color: rgb(111, 76, 172);
/* oklch */ color: oklch(50.2% 0.148 297.6);
Tailwind
colors: {
  custom: {
    50: '#9c7fc5',
    500: '#6f4cac',
    950: '#000000',
  },
}
SCSS
$custom: #6f4cac;
$custom-light: #9c7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4cac",
  "rgb": {
    "r": 111,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 261.875,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50177,
    "c": 0.14817,
    "h": 297.6
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

primary
#6F4CAC
secondary
#B0C193
accent
#CF59A4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6F4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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