#6D2EA4#6D2EA4

#6D2EA4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.181 H 304.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6D2EA4
RGBrgb(109, 46, 164)
HSLhsl(272, 56%, 41%)
HSVhsv(272, 72%, 64%)
CMYKcmyk(33.5%, 72%, 0%, 35.7%)
CIE-LABlab(33.74, 49.54, -52.40)
CIE-LCHlch(33.74, 72.11, 313.39°)
OKLaboklab(45.08% 0.1021 -0.149)
OKLCHoklch(45.08% 0.181 304.4)
XYZxyz(13.9830, 7.8856, 35.9002)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2EA4 #65A42E
analogous
#322EA4 #6D2EA4 #A42EA0
triadic
#6D2EA4 #A46D2E #2EA46D
tetradic
#6D2EA4 #A4322E #65A42E #2EA0A4
square
#6D2EA4 #A4322E #65A42E #2EA0A4
split-complementary
#6D2EA4 #A0A42E #2EA432
monochromatic
#2D1344 #4D2174 #6D2EA4 #8C45CB #AA74D8

Accessibility & contrast

On white

8.15
#6D2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6D2EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2EA4
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2EA4#FFFFFF#000000##FFFFFF
##6D2EA41.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#634A66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ea4;
/* rgb */ color: rgb(109, 46, 164);
/* oklch */ color: oklch(45.1% 0.181 304.4);
Tailwind
colors: {
  custom: {
    50: '#9c6cc0',
    500: '#6d2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ea4;
$custom-light: #9c6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ea4",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 272.034,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45084,
    "c": 0.18065,
    "h": 304.4
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#6D2EA4
secondary
#94C06E
accent
#DF488F
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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