#6F2CA6#6F2CA6

#6F2CA6 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.186 H 305.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6F2CA6
RGBrgb(111, 44, 166)
HSLhsl(273, 58%, 41%)
HSVhsv(273, 73%, 65%)
CMYKcmyk(33.1%, 73.5%, 0%, 34.9%)
CIE-LABlab(33.85, 51.31, -53.43)
CIE-LCHlch(33.85, 74.08, 313.84°)
OKLaboklab(45.26% 0.1066 -0.152)
OKLCHoklch(45.26% 0.186 305)
XYZxyz(14.3376, 7.9341, 36.8451)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CA6 #63A62C
analogous
#322CA6 #6F2CA6 #A62CA0
triadic
#6F2CA6 #A66F2C #2CA66F
tetradic
#6F2CA6 #A6322C #63A62C #2CA0A6
square
#6F2CA6 #A6322C #63A62C #2CA0A6
split-complementary
#6F2CA6 #A0A62C #2CA632
monochromatic
#2E1245 #4F1F76 #6F2CA6 #8E42CD #AB73DA

Accessibility & contrast

On white

8.12
#6F2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6F2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2CA6
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2CA6#FFFFFF#000000##FFFFFF
##6F2CA61.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#654966
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2ca6;
/* rgb */ color: rgb(111, 44, 166);
/* oklch */ color: oklch(45.3% 0.186 305.0);
Tailwind
colors: {
  custom: {
    50: '#9d6cc1',
    500: '#6f2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ca6;
$custom-light: #9d6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ca6",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 272.951,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.18561,
    "h": 305
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#6F2CA6
secondary
#93C16D
accent
#E1468C
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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