#6F2EA4#6F2EA4

#6F2EA4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.181 H 305.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA4
RGBrgb(111, 46, 164)
HSLhsl(273, 56%, 41%)
HSVhsv(273, 72%, 64%)
CMYKcmyk(32.3%, 72%, 0%, 35.7%)
CIE-LABlab(34.01, 49.94, -51.96)
CIE-LCHlch(34.01, 72.07, 313.87°)
OKLaboklab(45.33% 0.1049 -0.1476)
OKLCHoklch(45.33% 0.181 305.4)
XYZxyz(14.2319, 8.0139, 35.9118)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA4 #63A42E
analogous
#342EA4 #6F2EA4 #A42E9E
triadic
#6F2EA4 #A46F2E #2EA46F
tetradic
#6F2EA4 #A4342E #63A42E #2E9EA4
square
#6F2EA4 #A4342E #63A42E #2E9EA4
split-complementary
#6F2EA4 #9EA42E #2EA434
monochromatic
#2E1344 #4F2174 #6F2EA4 #8E45CB #AB74D8

Accessibility & contrast

On white

8.07
#6F2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6F2EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EA4
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EA4#FFFFFF#000000##FFFFFF
##6F2EA41.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#654A66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2ea4;
/* rgb */ color: rgb(111, 46, 164);
/* oklch */ color: oklch(45.3% 0.181 305.4);
Tailwind
colors: {
  custom: {
    50: '#9d6cc0',
    500: '#6f2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea4;
$custom-light: #9d6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea4",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 273.051,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.18112,
    "h": 305.4
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#6F2EA4
secondary
#93C06E
accent
#DF488C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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