#6F2EAC#6F2EAC

#6F2EAC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.190 H 303.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6F2EAC
RGBrgb(111, 46, 172)
HSLhsl(271, 58%, 43%)
HSVhsv(271, 73%, 67%)
CMYKcmyk(35.5%, 73.3%, 0%, 32.5%)
CIE-LABlab(34.62, 51.85, -55.76)
CIE-LCHlch(34.62, 76.15, 312.92°)
OKLaboklab(45.96% 0.1035 -0.1588)
OKLCHoklch(45.96% 0.19 303.1)
XYZxyz(14.9772, 8.3121, 39.8371)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EAC #6BAC2E
analogous
#302EAC #6F2EAC #AC2EAA
triadic
#6F2EAC #AC6F2E #2EAC6F
tetradic
#6F2EAC #AC302E #6BAC2E #2EAAAC
square
#6F2EAC #AC302E #6BAC2E #2EAAAC
split-complementary
#6F2EAC #AAAC2E #2EAC30
monochromatic
#31144B #50217C #6F2EAC #8E49CE #AC79DB

Accessibility & contrast

On white

7.89
#6F2EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2EAC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EAC#FFFFFF#000000##FFFFFF
##6F2EAC1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#634D6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2eac;
/* rgb */ color: rgb(111, 46, 172);
/* oklch */ color: oklch(46.0% 0.190 303.1);
Tailwind
colors: {
  custom: {
    50: '#9e6dc6',
    500: '#6f2eac',
    950: '#000000',
  },
}
SCSS
$custom: #6f2eac;
$custom-light: #9e6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2eac",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 270.952,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4596,
    "c": 0.18956,
    "h": 303.1
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#6F2EAC
secondary
#9AC372
accent
#E14791
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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