#6F2CB2#6F2CB2

#6F2CB2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.198 H 301.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6F2CB2
RGBrgb(111, 44, 178)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 70%)
CMYKcmyk(37.6%, 75.3%, 0%, 30.2%)
CIE-LABlab(34.79, 54.18, -59.06)
CIE-LCHlch(34.79, 80.15, 312.53°)
OKLaboklab(46.23% 0.1041 -0.1685)
OKLCHoklch(46.23% 0.198 301.7)
XYZxyz(15.4902, 8.3951, 42.9152)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CB2 #6FB22C
analogous
#2C2CB2 #6F2CB2 #B22CB2
triadic
#6F2CB2 #B26F2C #2CB26F
tetradic
#6F2CB2 #B22C2C #6FB22C #2CB2B2
square
#6F2CB2 #B22C2C #6FB22C #2CB2B2
split-complementary
#6F2CB2 #B2B22C #2CB22C
monochromatic
#321450 #502081 #6F2CB2 #8E49D2 #AC7ADE

Accessibility & contrast

On white

7.84
#6F2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6F2CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2CB2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2CB2#FFFFFF#000000##FFFFFF
##6F2CB21.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#604E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2cb2;
/* rgb */ color: rgb(111, 44, 178);
/* oklch */ color: oklch(46.2% 0.198 301.7);
Tailwind
colors: {
  custom: {
    50: '#9e6cca',
    500: '#6f2cb2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2cb2;
$custom-light: #9e6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2cb2",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46227,
    "c": 0.19807,
    "h": 301.7
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#6F2CB2
secondary
#9DC673
accent
#E44494
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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