#6F2EAE#6F2EAE

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

Color values

HEX#6F2EAE
RGBrgb(111, 46, 174)
HSLhsl(270, 58%, 43%)
HSVhsv(270, 74%, 68%)
CMYKcmyk(36.2%, 73.6%, 0%, 31.8%)
CIE-LABlab(34.78, 52.34, -56.70)
CIE-LCHlch(34.78, 77.16, 312.71°)
OKLaboklab(46.12% 0.1031 -0.1616)
OKLCHoklch(46.12% 0.192 302.5)
XYZxyz(15.1707, 8.3895, 40.8563)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EAE #6DAE2E
analogous
#2F2EAE #6F2EAE #AE2EAD
triadic
#6F2EAE #AE6F2E #2EAE6F
tetradic
#6F2EAE #AE2F2E #6DAE2E #2EADAE
square
#6F2EAE #AE2F2E #6DAE2E #2EADAE
split-complementary
#6F2EAE #ADAE2E #2EAE2F
monochromatic
#31144D #50217E #6F2EAE #8E4ACF #AC7ADC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F2EAE#FFFFFF#000000##FFFFFF
##6F2EAE1.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)
#0051B2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#624E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2eae;
/* rgb */ color: rgb(111, 46, 174);
/* oklch */ color: oklch(46.1% 0.192 302.5);
Tailwind
colors: {
  custom: {
    50: '#9e6dc7',
    500: '#6f2eae',
    950: '#000000',
  },
}
SCSS
$custom: #6f2eae;
$custom-light: #9e6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2eae",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 270.469,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46119,
    "c": 0.19167,
    "h": 302.5
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#6F2EAE
secondary
#9BC474
accent
#E14693
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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