#6F3EA3#6F3EA3

#6F3EA3 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.158 H 303.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6F3EA3
RGBrgb(111, 62, 163)
HSLhsl(269, 45%, 44%)
HSVhsv(269, 62%, 64%)
CMYKcmyk(31.9%, 62%, 0%, 36.1%)
CIE-LABlab(36.87, 41.63, -46.73)
CIE-LCHlch(36.87, 62.59, 311.69°)
OKLaboklab(47.37% 0.0866 -0.1324)
OKLCHoklch(47.37% 0.158 303.2)
XYZxyz(14.8875, 9.4691, 35.6866)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3EA3 #72A33E
analogous
#3E40A3 #6F3EA3 #A23EA3
triadic
#6F3EA3 #A36F3E #3EA36F
tetradic
#6F3EA3 #A33E40 #72A33E #3EA3A2
square
#6F3EA3 #A33E40 #72A33E #3EA3A2
split-complementary
#6F3EA3 #A3A23E #40A33E
monochromatic
#331C4A #512D77 #6F3EA3 #8E5DC1 #AD89D2

Accessibility & contrast

On white

7.26
#6F3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6F3EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3EA3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3EA3#FFFFFF#000000##FFFFFF
##6F3EA31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#2257A1
Tritanopia (blue-blind)
#65536A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f3ea3;
/* rgb */ color: rgb(111, 62, 163);
/* oklch */ color: oklch(47.4% 0.158 303.2);
Tailwind
colors: {
  custom: {
    50: '#9c76bf',
    500: '#6f3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #6f3ea3;
$custom-light: #9c76bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3ea3",
  "rgb": {
    "r": 111,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 269.109,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47367,
    "c": 0.15821,
    "h": 303.2
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#6F3EA3
secondary
#9FBD80
accent
#D55396
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #6F3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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