#6F3FA6#6F3FA6

#6F3FA6 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.7% C 0.160 H 302.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6F3FA6
RGBrgb(111, 63, 166)
HSLhsl(268, 45%, 45%)
HSVhsv(268, 62%, 65%)
CMYKcmyk(33.1%, 62%, 0%, 34.9%)
CIE-LABlab(37.28, 41.84, -47.88)
CIE-LCHlch(37.28, 63.59, 311.15°)
OKLaboklab(47.73% 0.0853 -0.1358)
OKLCHoklch(47.73% 0.16 302.1)
XYZxyz(15.2144, 9.6877, 37.1374)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3FA6 #76A63F
analogous
#3F43A6 #6F3FA6 #A23FA6
triadic
#6F3FA6 #A66F3F #3FA66F
tetradic
#6F3FA6 #A63F43 #76A63F #3FA6A2
square
#6F3FA6 #A63F43 #76A63F #3FA6A2
split-complementary
#6F3FA6 #A6A23F #43A63F
monochromatic
#341D4D #512E7A #6F3FA6 #8E60C3 #AD8CD3

Accessibility & contrast

On white

7.15
#6F3FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6F3FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3FA6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3FA6#FFFFFF#000000##FFFFFF
##6F3FA61.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#2057A4
Tritanopia (blue-blind)
#64556C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f3fa6;
/* rgb */ color: rgb(111, 63, 166);
/* oklch */ color: oklch(47.7% 0.160 302.1);
Tailwind
colors: {
  custom: {
    50: '#9c76c1',
    500: '#6f3fa6',
    950: '#000000',
  },
}
SCSS
$custom: #6f3fa6;
$custom-light: #9c76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3fa6",
  "rgb": {
    "r": 111,
    "g": 63,
    "b": 166
  },
  "hsl": {
    "h": 267.961,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.16032,
    "h": 302.1
  },
  "luminance": 0.09688
}

Semantic roles & 50–950 ramp

primary
#6F3FA6
secondary
#A2BE83
accent
#D55398
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #6F3FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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