#6D2CA4#6D2CA4

#6D2CA4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.183 H 304.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6D2CA4
RGBrgb(109, 44, 164)
HSLhsl(273, 58%, 41%)
HSVhsv(273, 73%, 64%)
CMYKcmyk(33.5%, 73.2%, 0%, 35.7%)
CIE-LABlab(33.42, 50.45, -52.93)
CIE-LCHlch(33.42, 73.12, 313.63°)
OKLaboklab(44.86% 0.1041 -0.1506)
OKLCHoklch(44.86% 0.183 304.7)
XYZxyz(13.9067, 7.7330, 35.8747)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2CA4 #63A42C
analogous
#312CA4 #6D2CA4 #A42C9F
triadic
#6D2CA4 #A46D2C #2CA46D
tetradic
#6D2CA4 #A4312C #63A42C #2C9FA4
square
#6D2CA4 #A4312C #63A42C #2C9FA4
split-complementary
#6D2CA4 #9FA42C #2CA431
monochromatic
#2D1243 #4D1F74 #6D2CA4 #8C41CC #AA71D9

Accessibility & contrast

On white

8.25
#6D2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6D2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2CA4
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2CA4#FFFFFF#000000##FFFFFF
##6D2CA41.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#634965
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ca4;
/* rgb */ color: rgb(109, 44, 164);
/* oklch */ color: oklch(44.9% 0.183 304.7);
Tailwind
colors: {
  custom: {
    50: '#9c6bc0',
    500: '#6d2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ca4;
$custom-light: #9c6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ca4",
  "rgb": {
    "r": 109,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 272.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44855,
    "c": 0.18306,
    "h": 304.7
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#6D2CA4
secondary
#92C06B
accent
#E1478D
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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