#6F2EA9#6F2EA9

#6F2EA9 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.186 H 303.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA9
RGBrgb(111, 46, 169)
HSLhsl(272, 57%, 42%)
HSVhsv(272, 73%, 66%)
CMYKcmyk(34.3%, 72.8%, 0%, 33.7%)
CIE-LABlab(34.39, 51.13, -54.34)
CIE-LCHlch(34.39, 74.62, 313.26°)
OKLaboklab(45.72% 0.104 -0.1547)
OKLCHoklch(45.72% 0.186 303.9)
XYZxyz(14.6923, 8.1981, 38.3368)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA9 #68A92E
analogous
#312EA9 #6F2EA9 #A92EA6
triadic
#6F2EA9 #A96F2E #2EA96F
tetradic
#6F2EA9 #A9312E #68A92E #2EA6A9
square
#6F2EA9 #A9312E #68A92E #2EA6A9
split-complementary
#6F2EA9 #A6A92E #2EA931
monochromatic
#301449 #4F2179 #6F2EA9 #8E47CD #AC77DA

Accessibility & contrast

On white

7.96
#6F2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6F2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EA9
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EA9#FFFFFF#000000##FFFFFF
##6F2EA91.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#644C69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2ea9;
/* rgb */ color: rgb(111, 46, 169);
/* oklch */ color: oklch(45.7% 0.186 303.9);
Tailwind
colors: {
  custom: {
    50: '#9d6dc3',
    500: '#6f2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea9;
$custom-light: #9d6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea9",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 271.707,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45722,
    "c": 0.1864,
    "h": 303.9
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#6F2EA9
secondary
#97C271
accent
#E04790
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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