#6D2CA8#6D2CA8

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

Color values

HEX#6D2CA8
RGBrgb(109, 44, 168)
HSLhsl(271, 58%, 42%)
HSVhsv(271, 74%, 66%)
CMYKcmyk(35.1%, 73.8%, 0%, 34.1%)
CIE-LABlab(33.73, 51.41, -54.83)
CIE-LCHlch(33.73, 75.16, 313.16°)
OKLaboklab(45.17% 0.1033 -0.1562)
OKLCHoklch(45.17% 0.187 303.5)
XYZxyz(14.2736, 7.8797, 37.8072)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CA8 #67A82C
analogous
#2F2CA8 #6D2CA8 #A82CA5
triadic
#6D2CA8 #A86D2C #2CA86D
tetradic
#6D2CA8 #A82F2C #67A82C #2CA5A8
square
#6D2CA8 #A82F2C #67A82C #2CA5A8
split-complementary
#6D2CA8 #A5A82C #2CA82F
monochromatic
#2E1347 #4E1F78 #6D2CA8 #8C43CE #AA74DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D2CA8#FFFFFF#000000##FFFFFF
##6D2CA81.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)
#004EAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#614A68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ca8;
/* rgb */ color: rgb(109, 44, 168);
/* oklch */ color: oklch(45.2% 0.187 303.5);
Tailwind
colors: {
  custom: {
    50: '#9c6bc3',
    500: '#6d2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ca8;
$custom-light: #9c6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ca8",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 271.452,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.18726,
    "h": 303.5
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#6D2CA8
secondary
#96C26E
accent
#E24690
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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