#6F3FAC#6F3FAC

#6F3FAC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.167 H 300.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6F3FAC
RGBrgb(111, 63, 172)
HSLhsl(266, 46%, 46%)
HSVhsv(266, 63%, 67%)
CMYKcmyk(35.5%, 63.4%, 0%, 32.5%)
CIE-LABlab(37.69, 43.39, -50.80)
CIE-LCHlch(37.69, 66.81, 310.50°)
OKLaboklab(48.15% 0.0849 -0.1443)
OKLCHoklch(48.15% 0.167 300.5)
XYZxyz(15.7776, 9.9130, 40.1039)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3FAC #7CAC3F
analogous
#3F45AC #6F3FAC #A53FAC
triadic
#6F3FAC #AC6F3F #3FAC6F
tetradic
#6F3FAC #AC3F45 #7CAC3F #3FACA5
square
#6F3FAC #AC3F45 #7CAC3F #3FACA5
split-complementary
#6F3FAC #ACA53F #45AC3F
monochromatic
#351E52 #522F7F #6F3FAC #8E63C6 #AE8FD6

Accessibility & contrast

On white

7.04
#6F3FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6F3FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3FAC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3FAC#FFFFFF#000000##FFFFFF
##6F3FAC1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#1458AA
Tritanopia (blue-blind)
#62576F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f3fac;
/* rgb */ color: rgb(111, 63, 172);
/* oklch */ color: oklch(48.2% 0.167 300.5);
Tailwind
colors: {
  custom: {
    50: '#9d77c5',
    500: '#6f3fac',
    950: '#000000',
  },
}
SCSS
$custom: #6f3fac;
$custom-light: #9d77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3fac",
  "rgb": {
    "r": 111,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 266.422,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48153,
    "c": 0.16748,
    "h": 300.5
  },
  "luminance": 0.09913
}

Semantic roles & 50–950 ramp

primary
#6F3FAC
secondary
#A7C186
accent
#D6529C
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6F3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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