#6F2BA7#6F2BA7

#6F2BA7 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.188 H 304.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6F2BA7
RGBrgb(111, 43, 167)
HSLhsl(273, 59%, 41%)
HSVhsv(273, 74%, 65%)
CMYKcmyk(33.5%, 74.3%, 0%, 34.5%)
CIE-LABlab(33.77, 51.99, -54.16)
CIE-LCHlch(33.77, 75.07, 313.83°)
OKLaboklab(45.23% 0.1074 -0.1541)
OKLCHoklch(45.23% 0.188 304.9)
XYZxyz(14.3929, 7.8974, 37.3178)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BA7 #63A72B
analogous
#312BA7 #6F2BA7 #A72BA1
triadic
#6F2BA7 #A76F2B #2BA76F
tetradic
#6F2BA7 #A7312B #63A72B #2BA1A7
square
#6F2BA7 #A7312B #63A72B #2BA1A7
split-complementary
#6F2BA7 #A1A72B #2BA731
monochromatic
#2E1246 #4F1E76 #6F2BA7 #8E41CE #AB72DB

Accessibility & contrast

On white

8.14
#6F2BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6F2BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BA7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BA7#FFFFFF#000000##FFFFFF
##6F2BA71.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#644967
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ba7;
/* rgb */ color: rgb(111, 43, 167);
/* oklch */ color: oklch(45.2% 0.188 304.9);
Tailwind
colors: {
  custom: {
    50: '#9d6bc2',
    500: '#6f2ba7',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ba7;
$custom-light: #9d6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ba7",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 272.903,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45232,
    "c": 0.18781,
    "h": 304.9
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#6F2BA7
secondary
#93C26C
accent
#E2468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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