#6F2AB3#6F2AB3

#6F2AB3 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.201 H 301.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6F2AB3
RGBrgb(111, 42, 179)
HSLhsl(270, 62%, 43%)
HSVhsv(270, 77%, 70%)
CMYKcmyk(38%, 76.5%, 0%, 29.8%)
CIE-LABlab(34.58, 55.26, -60.01)
CIE-LCHlch(34.58, 81.58, 312.64°)
OKLaboklab(46.1% 0.1056 -0.1713)
OKLCHoklch(46.1% 0.201 301.6)
XYZxyz(15.5182, 8.2900, 43.4217)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AB3 #6EB32A
analogous
#2A2AB3 #6F2AB3 #B32AB2
triadic
#6F2AB3 #B36F2A #2AB36F
tetradic
#6F2AB3 #B32A2A #6EB32A #2AB2B3
square
#6F2AB3 #B32A2A #6EB32A #2AB2B3
split-complementary
#6F2AB3 #B2B32A #2AB32A
monochromatic
#321350 #501E81 #6F2AB3 #8E46D4 #AC78DF

Accessibility & contrast

On white

7.90
#6F2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6F2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AB3
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AB3#FFFFFF#000000##FFFFFF
##6F2AB31.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#604E6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2ab3;
/* rgb */ color: rgb(111, 42, 179);
/* oklch */ color: oklch(46.1% 0.201 301.6);
Tailwind
colors: {
  custom: {
    50: '#9f6bcb',
    500: '#6f2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ab3;
$custom-light: #9f6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ab3",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 270.219,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.20121,
    "h": 301.6
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#6F2AB3
secondary
#9CC772
accent
#E54393
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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