#6F3ABA#6F3ABA

#6F3ABA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.190 H 297.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6F3ABA
RGBrgb(111, 58, 186)
HSLhsl(265, 52%, 48%)
HSVhsv(265, 69%, 73%)
CMYKcmyk(40.3%, 68.8%, 0%, 27.1%)
CIE-LABlab(37.75, 49.63, -58.98)
CIE-LCHlch(37.75, 77.08, 310.08°)
OKLaboklab(48.52% 0.0889 -0.1684)
OKLCHoklch(48.52% 0.19 297.8)
XYZxyz(16.9293, 9.9505, 47.4736)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3ABA #85BA3A
analogous
#3A45BA #6F3ABA #AF3ABA
triadic
#6F3ABA #BA6F3A #3ABA6F
tetradic
#6F3ABA #BA3A45 #85BA3A #3ABAAF
square
#6F3ABA #BA3A45 #85BA3A #3ABAAF
split-complementary
#6F3ABA #BAAF3A #45BA3A
monochromatic
#371D5D #532B8B #6F3ABA #8F63CE #B192DD

Accessibility & contrast

On white

7.02
#6F3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6F3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3ABA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3ABA#FFFFFF#000000##FFFFFF
##6F3ABA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#5D5975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f3aba;
/* rgb */ color: rgb(111, 58, 186);
/* oklch */ color: oklch(48.5% 0.190 297.8);
Tailwind
colors: {
  custom: {
    50: '#9e74d0',
    500: '#6f3aba',
    950: '#000000',
  },
}
SCSS
$custom: #6f3aba;
$custom-light: #9e74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3aba",
  "rgb": {
    "r": 111,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 264.844,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.19039,
    "h": 297.8
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#6F3ABA
secondary
#ADC888
accent
#DC4CA0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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