#6F3CAB#6F3CAB

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

Color values

HEX#6F3CAB
RGBrgb(111, 60, 171)
HSLhsl(268, 48%, 45%)
HSVhsv(268, 65%, 67%)
CMYKcmyk(35.1%, 64.9%, 0%, 32.9%)
CIE-LABlab(37.02, 44.73, -51.27)
CIE-LCHlch(37.02, 68.05, 311.10°)
OKLaboklab(47.65% 0.0886 -0.1457)
OKLCHoklch(47.65% 0.171 301.3)
XYZxyz(15.5203, 9.5514, 39.5461)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3CAB #78AB3C
analogous
#3C40AB #6F3CAB #A73CAB
triadic
#6F3CAB #AB6F3C #3CAB6F
tetradic
#6F3CAB #AB3C40 #78AB3C #3CABA7
square
#6F3CAB #AB3C40 #78AB3C #3CABA7
split-complementary
#6F3CAB #ABA73C #40AB3C
monochromatic
#341C50 #522C7E #6F3CAB #8E5EC6 #AE8BD6

Accessibility & contrast

On white

7.22
#6F3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6F3CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3CAB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3CAB#FFFFFF#000000##FFFFFF
##6F3CAB1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0E57A9
Tritanopia (blue-blind)
#62546E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f3cab;
/* rgb */ color: rgb(111, 60, 171);
/* oklch */ color: oklch(47.7% 0.171 301.3);
Tailwind
colors: {
  custom: {
    50: '#9d75c5',
    500: '#6f3cab',
    950: '#000000',
  },
}
SCSS
$custom: #6f3cab;
$custom-light: #9d75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3cab",
  "rgb": {
    "r": 111,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 267.568,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.17051,
    "h": 301.3
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#6F3CAB
secondary
#A4C182
accent
#D85099
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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