#6F3AC2#6F3AC2

#6F3AC2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.199 H 296.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6F3AC2
RGBrgb(111, 58, 194)
HSLhsl(263, 54%, 49%)
HSVhsv(263, 70%, 76%)
CMYKcmyk(42.8%, 70.1%, 0%, 23.9%)
CIE-LABlab(38.38, 51.70, -62.66)
CIE-LCHlch(38.38, 81.24, 309.53°)
OKLaboklab(49.16% 0.0876 -0.1792)
OKLCHoklch(49.16% 0.199 296)
XYZxyz(17.8036, 10.3003, 52.0786)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3AC2 #8DC23A
analogous
#3A49C2 #6F3AC2 #B33AC2
triadic
#6F3AC2 #C26F3A #3AC26F
tetradic
#6F3AC2 #C23A49 #8DC23A #3AC2B3
square
#6F3AC2 #C23A49 #8DC23A #3AC2B3
split-complementary
#6F3AC2 #C2B33A #49C23A
monochromatic
#391E64 #542C93 #6F3AC2 #9167D2 #B397E0

Accessibility & contrast

On white

6.86
#6F3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6F3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F3AC2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3AC2#FFFFFF#000000##FFFFFF
##6F3AC21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#595C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6f3ac2;
/* rgb */ color: rgb(111, 58, 194);
/* oklch */ color: oklch(49.2% 0.199 296.0);
Tailwind
colors: {
  custom: {
    50: '#9f74d5',
    500: '#6f3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3ac2;
$custom-light: #9f74d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3ac2",
  "rgb": {
    "r": 111,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 263.382,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.19942,
    "h": 296
  },
  "luminance": 0.10301
}

Semantic roles & 50–950 ramp

primary
#6F3AC2
secondary
#B3CB8D
accent
#DD4AA4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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