#6F3EAC#6F3EAC

#6F3EAC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.0% C 0.169 H 300.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6F3EAC
RGBrgb(111, 62, 172)
HSLhsl(267, 47%, 46%)
HSVhsv(267, 64%, 67%)
CMYKcmyk(35.5%, 64%, 0%, 32.5%)
CIE-LABlab(37.49, 43.93, -51.12)
CIE-LCHlch(37.49, 67.40, 310.67°)
OKLaboklab(48.01% 0.0861 -0.1453)
OKLCHoklch(48.01% 0.169 300.7)
XYZxyz(15.7228, 9.8032, 40.0856)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3EAC #7BAC3E
analogous
#3E44AC #6F3EAC #A63EAC
triadic
#6F3EAC #AC6F3E #3EAC6F
tetradic
#6F3EAC #AC3E44 #7BAC3E #3EACA6
square
#6F3EAC #AC3E44 #7BAC3E #3EACA6
split-complementary
#6F3EAC #ACA63E #44AC3E
monochromatic
#351E52 #522E7F #6F3EAC #8E61C6 #AE8ED6

Accessibility & contrast

On white

7.09
#6F3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6F3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3EAC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3EAC#FFFFFF#000000##FFFFFF
##6F3EAC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#1158AA
Tritanopia (blue-blind)
#62566F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f3eac;
/* rgb */ color: rgb(111, 62, 172);
/* oklch */ color: oklch(48.0% 0.169 300.7);
Tailwind
colors: {
  custom: {
    50: '#9d76c5',
    500: '#6f3eac',
    950: '#000000',
  },
}
SCSS
$custom: #6f3eac;
$custom-light: #9d76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3eac",
  "rgb": {
    "r": 111,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 266.727,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.16889,
    "h": 300.7
  },
  "luminance": 0.09803
}

Semantic roles & 50–950 ramp

primary
#6F3EAC
secondary
#A6C185
accent
#D7519B
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6F3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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