#6D2EA0#6D2EA0

#6D2EA0 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.176 H 305.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#6D2EA0
RGBrgb(109, 46, 160)
HSLhsl(273, 55%, 40%)
HSVhsv(273, 71%, 63%)
CMYKcmyk(31.9%, 71.2%, 0%, 37.3%)
CIE-LABlab(33.44, 48.58, -50.48)
CIE-LCHlch(33.44, 70.06, 313.90°)
OKLaboklab(44.78% 0.1027 -0.1434)
OKLCHoklch(44.78% 0.176 305.6)
XYZxyz(13.6274, 7.7434, 34.0276)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EA0 #61A02E
analogous
#342EA0 #6D2EA0 #A02E9A
triadic
#6D2EA0 #A06D2E #2EA06D
tetradic
#6D2EA0 #A0342E #61A02E #2E9AA0
square
#6D2EA0 #A0342E #61A02E #2E9AA0
split-complementary
#6D2EA0 #9AA02E #2EA034
monochromatic
#2C1341 #4D2070 #6D2EA0 #8D42C9 #A972D6

Accessibility & contrast

On white

8.24
#6D2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6D2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EA0
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EA0#FFFFFF#000000##FFFFFF
##6D2EA01.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#644864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ea0;
/* rgb */ color: rgb(109, 46, 160);
/* oklch */ color: oklch(44.8% 0.176 305.6);
Tailwind
colors: {
  custom: {
    50: '#9b6cbd',
    500: '#6d2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ea0;
$custom-light: #9b6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ea0",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 273.158,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44776,
    "c": 0.17638,
    "h": 305.6
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#6D2EA0
secondary
#91BE6C
accent
#DF498C
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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