#6D2CAC#6D2CAC

#6D2CAC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.191 H 302.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6D2CAC
RGBrgb(109, 44, 172)
HSLhsl(270, 59%, 42%)
HSVhsv(270, 74%, 67%)
CMYKcmyk(36.6%, 74.4%, 0%, 32.5%)
CIE-LABlab(34.05, 52.37, -56.71)
CIE-LCHlch(34.05, 77.20, 312.72°)
OKLaboklab(45.5% 0.1025 -0.1617)
OKLCHoklch(45.5% 0.191 302.4)
XYZxyz(14.6520, 8.0311, 39.8000)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CAC #6BAC2C
analogous
#2D2CAC #6D2CAC #AC2CAB
triadic
#6D2CAC #AC6D2C #2CAC6D
tetradic
#6D2CAC #AC2D2C #6BAC2C #2CABAC
square
#6D2CAC #AC2D2C #6BAC2C #2CABAC
split-complementary
#6D2CAC #ABAC2C #2CAC2D
monochromatic
#2F134B #4E207B #6D2CAC #8C46D0 #AA76DC

Accessibility & contrast

On white

8.06
#6D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6D2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2CAC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2CAC#FFFFFF#000000##FFFFFF
##6D2CAC1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#604C6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2cac;
/* rgb */ color: rgb(109, 44, 172);
/* oklch */ color: oklch(45.5% 0.191 302.4);
Tailwind
colors: {
  custom: {
    50: '#9d6cc6',
    500: '#6d2cac',
    950: '#000000',
  },
}
SCSS
$custom: #6d2cac;
$custom-light: #9d6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2cac",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 270.469,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45495,
    "c": 0.19145,
    "h": 302.4
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#6D2CAC
secondary
#99C470
accent
#E24593
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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