#6D2EA7#6D2EA7

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

Color values

HEX#6D2EA7
RGBrgb(109, 46, 167)
HSLhsl(271, 57%, 42%)
HSVhsv(271, 72%, 65%)
CMYKcmyk(34.7%, 72.5%, 0%, 34.5%)
CIE-LABlab(33.97, 50.26, -53.84)
CIE-LCHlch(33.97, 73.65, 313.04°)
OKLaboklab(45.32% 0.1016 -0.1532)
OKLCHoklch(45.32% 0.184 303.5)
XYZxyz(14.2571, 7.9952, 37.3439)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EA7 #68A72E
analogous
#312EA7 #6D2EA7 #A72EA5
triadic
#6D2EA7 #A76D2E #2EA76D
tetradic
#6D2EA7 #A7312E #68A72E #2EA5A7
square
#6D2EA7 #A7312E #68A72E #2EA5A7
split-complementary
#6D2EA7 #A5A72E #2EA731
monochromatic
#2E1447 #4E2177 #6D2EA7 #8C46CC #AA76D9

Accessibility & contrast

On white

8.08
#6D2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2EA7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EA7#FFFFFF#000000##FFFFFF
##6D2EA71.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#614B68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2ea7;
/* rgb */ color: rgb(109, 46, 167);
/* oklch */ color: oklch(45.3% 0.184 303.5);
Tailwind
colors: {
  custom: {
    50: '#9c6cc2',
    500: '#6d2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ea7;
$custom-light: #9c6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ea7",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 271.24,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.18385,
    "h": 303.5
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#6D2EA7
secondary
#97C170
accent
#E04891
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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