#6F3CAC#6F3CAC

#6F3CAC is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.172 H 301.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6F3CAC
RGBrgb(111, 60, 172)
HSLhsl(267, 48%, 45%)
HSVhsv(267, 65%, 67%)
CMYKcmyk(35.5%, 65.1%, 0%, 32.5%)
CIE-LABlab(37.10, 44.99, -51.75)
CIE-LCHlch(37.10, 68.58, 311.00°)
OKLaboklab(47.73% 0.0885 -0.1471)
OKLCHoklch(47.73% 0.172 301)
XYZxyz(15.6160, 9.5897, 40.0500)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3CAC #79AC3C
analogous
#3C41AC #6F3CAC #A73CAC
triadic
#6F3CAC #AC6F3C #3CAC6F
tetradic
#6F3CAC #AC3C41 #79AC3C #3CACA7
square
#6F3CAC #AC3C41 #79AC3C #3CACA7
split-complementary
#6F3CAC #ACA73C #41AC3C
monochromatic
#341C51 #522C7F #6F3CAC #8E5EC7 #AE8CD7

Accessibility & contrast

On white

7.20
#6F3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6F3CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3CAC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3CAC#FFFFFF#000000##FFFFFF
##6F3CAC1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0B57AA
Tritanopia (blue-blind)
#62556E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f3cac;
/* rgb */ color: rgb(111, 60, 172);
/* oklch */ color: oklch(47.7% 0.172 301.0);
Tailwind
colors: {
  custom: {
    50: '#9d75c5',
    500: '#6f3cac',
    950: '#000000',
  },
}
SCSS
$custom: #6f3cac;
$custom-light: #9d75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3cac",
  "rgb": {
    "r": 111,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 267.321,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.17168,
    "h": 301
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#6F3CAC
secondary
#A5C182
accent
#D8509A
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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