#6F2AB5#6F2AB5

#6F2AB5 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.203 H 301.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6F2AB5
RGBrgb(111, 42, 181)
HSLhsl(270, 62%, 44%)
HSVhsv(270, 77%, 71%)
CMYKcmyk(38.7%, 76.8%, 0%, 29%)
CIE-LABlab(34.74, 55.74, -60.92)
CIE-LCHlch(34.74, 82.58, 312.46°)
OKLaboklab(46.27% 0.1051 -0.174)
OKLCHoklch(46.27% 0.203 301.1)
XYZxyz(15.7220, 8.3715, 44.4947)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AB5 #70B52A
analogous
#2A2AB5 #6F2AB5 #B42AB5
triadic
#6F2AB5 #B56F2A #2AB56F
tetradic
#6F2AB5 #B52A2A #70B52A #2AB5B4
square
#6F2AB5 #B52A2A #70B52A #2AB5B4
split-complementary
#6F2AB5 #B5B42A #2AB52A
monochromatic
#321352 #511E83 #6F2AB5 #8E48D4 #AC79E0

Accessibility & contrast

On white

7.85
#6F2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6F2AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AB5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AB5#FFFFFF#000000##FFFFFF
##6F2AB51.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#5F4F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2ab5;
/* rgb */ color: rgb(111, 42, 181);
/* oklch */ color: oklch(46.3% 0.203 301.1);
Tailwind
colors: {
  custom: {
    50: '#9f6bcc',
    500: '#6f2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ab5;
$custom-light: #9f6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ab5",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 269.784,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4627,
    "c": 0.20325,
    "h": 301.1
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#6F2AB5
secondary
#9EC873
accent
#E54294
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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