#6D2CA9#6D2CA9

#6D2CA9 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.188 H 303.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6D2CA9
RGBrgb(109, 44, 169)
HSLhsl(271, 59%, 42%)
HSVhsv(271, 74%, 66%)
CMYKcmyk(35.5%, 74%, 0%, 33.7%)
CIE-LABlab(33.81, 51.65, -55.30)
CIE-LCHlch(33.81, 75.67, 313.04°)
OKLaboklab(45.25% 0.1031 -0.1575)
OKLCHoklch(45.25% 0.188 303.2)
XYZxyz(14.3671, 7.9171, 38.2997)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CA9 #68A92C
analogous
#2F2CA9 #6D2CA9 #A92CA7
triadic
#6D2CA9 #A96D2C #2CA96D
tetradic
#6D2CA9 #A92F2C #68A92C #2CA7A9
square
#6D2CA9 #A92F2C #68A92C #2CA7A9
split-complementary
#6D2CA9 #A7A92C #2CA92F
monochromatic
#2E1348 #4E1F78 #6D2CA9 #8C44CE #AA74DB

Accessibility & contrast

On white

8.13
#6D2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2CA9
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2CA9#FFFFFF#000000##FFFFFF
##6D2CA91.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#614B68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ca9;
/* rgb */ color: rgb(109, 44, 169);
/* oklch */ color: oklch(45.3% 0.188 303.2);
Tailwind
colors: {
  custom: {
    50: '#9c6bc3',
    500: '#6d2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ca9;
$custom-light: #9c6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ca9",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 271.2,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45253,
    "c": 0.18831,
    "h": 303.2
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#6D2CA9
secondary
#97C36E
accent
#E24691
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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