#6D2FA2#6D2FA2

#6D2FA2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.177 H 304.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6D2FA2
RGBrgb(109, 47, 162)
HSLhsl(272, 55%, 41%)
HSVhsv(272, 71%, 64%)
CMYKcmyk(32.7%, 71%, 0%, 36.5%)
CIE-LABlab(33.76, 48.59, -51.17)
CIE-LCHlch(33.76, 70.57, 313.52°)
OKLaboklab(45.05% 0.1014 -0.1454)
OKLCHoklch(45.05% 0.177 304.9)
XYZxyz(13.8433, 7.8930, 34.9696)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FA2 #64A22F
analogous
#332FA2 #6D2FA2 #A22F9D
triadic
#6D2FA2 #A26D2F #2FA26D
tetradic
#6D2FA2 #A2332F #64A22F #2F9DA2
square
#6D2FA2 #A2332F #64A22F #2F9DA2
split-complementary
#6D2FA2 #9DA22F #2FA233
monochromatic
#2D1343 #4D2173 #6D2FA2 #8C45C9 #AA75D7

Accessibility & contrast

On white

8.14
#6D2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2FA2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FA2#FFFFFF#000000##FFFFFF
##6D2FA21.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#634A65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2fa2;
/* rgb */ color: rgb(109, 47, 162);
/* oklch */ color: oklch(45.0% 0.177 304.9);
Tailwind
colors: {
  custom: {
    50: '#9b6dbe',
    500: '#6d2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fa2;
$custom-light: #9b6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fa2",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 272.348,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.17727,
    "h": 304.9
  },
  "luminance": 0.07893
}

Semantic roles & 50–950 ramp

primary
#6D2FA2
secondary
#93BF6E
accent
#DE498E
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6D2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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