#6D2FA4#6D2FA4

#6D2FA4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.179 H 304.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6D2FA4
RGBrgb(109, 47, 164)
HSLhsl(272, 55%, 41%)
HSVhsv(272, 71%, 64%)
CMYKcmyk(33.5%, 71.3%, 0%, 35.7%)
CIE-LABlab(33.91, 49.07, -52.14)
CIE-LCHlch(33.91, 71.60, 313.27°)
OKLaboklab(45.2% 0.1011 -0.1483)
OKLCHoklch(45.2% 0.179 304.3)
XYZxyz(14.0225, 7.9646, 35.9134)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FA4 #66A42F
analogous
#332FA4 #6D2FA4 #A42FA1
triadic
#6D2FA4 #A46D2F #2FA46D
tetradic
#6D2FA4 #A4332F #66A42F #2FA1A4
square
#6D2FA4 #A4332F #66A42F #2FA1A4
split-complementary
#6D2FA4 #A1A42F #2FA433
monochromatic
#2E1445 #4D2174 #6D2FA4 #8C46CA #AA76D8

Accessibility & contrast

On white

8.10
#6D2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6D2FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FA4
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FA4#FFFFFF#000000##FFFFFF
##6D2FA41.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d2fa4;
/* rgb */ color: rgb(109, 47, 164);
/* oklch */ color: oklch(45.2% 0.179 304.3);
Tailwind
colors: {
  custom: {
    50: '#9c6dc0',
    500: '#6d2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fa4;
$custom-light: #9c6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fa4",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 271.795,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45202,
    "c": 0.17942,
    "h": 304.3
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#6D2FA4
secondary
#95C06F
accent
#DF498F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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