#6F3AC8#6F3AC8

#6F3AC8 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.206 H 294.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6F3AC8
RGBrgb(111, 58, 200)
HSLhsl(262, 56%, 51%)
HSVhsv(262, 71%, 78%)
CMYKcmyk(44.5%, 71%, 0%, 21.6%)
CIE-LABlab(38.86, 53.27, -65.37)
CIE-LCHlch(38.86, 84.33, 309.18°)
OKLaboklab(49.65% 0.0864 -0.1872)
OKLCHoklch(49.65% 0.206 294.8)
XYZxyz(18.4911, 10.5753, 55.6994)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3AC8 #93C83A
analogous
#3A4CC8 #6F3AC8 #B63AC8
triadic
#6F3AC8 #C86F3A #3AC86F
tetradic
#6F3AC8 #C83A4C #93C83A #3AC8B6
square
#6F3AC8 #C83A4C #93C83A #3AC8B6
split-complementary
#6F3AC8 #C8B63A #4CC83A
monochromatic
#3A1E6A #542B9A #6F3AC8 #926AD5 #B59AE3

Accessibility & contrast

On white

6.74
#6F3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6F3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F3AC8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3AC8#FFFFFF#000000##FFFFFF
##6F3AC81.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#565E7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6f3ac8;
/* rgb */ color: rgb(111, 58, 200);
/* oklch */ color: oklch(49.7% 0.206 294.8);
Tailwind
colors: {
  custom: {
    50: '#a075da',
    500: '#6f3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #6f3ac8;
$custom-light: #a075da;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3ac8",
  "rgb": {
    "r": 111,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 262.394,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49653,
    "c": 0.20615,
    "h": 294.8
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#6F3AC8
secondary
#B7CE8F
accent
#E048A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6F3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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