#6D2194#6D2194

#6D2194 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.179 H 311.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6D2194
RGBrgb(109, 33, 148)
HSLhsl(280, 64%, 35%)
HSVhsv(280, 78%, 58%)
CMYKcmyk(26.4%, 77.7%, 0%, 42%)
CIE-LABlab(30.59, 51.38, -47.79)
CIE-LCHlch(30.59, 70.17, 317.07°)
OKLaboklab(42.47% 0.1178 -0.1354)
OKLCHoklch(42.47% 0.179 311)
XYZxyz(12.1948, 6.4773, 28.6191)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2194 #489421
analogous
#332194 #6D2194 #942181
triadic
#6D2194 #946D21 #21946D
tetradic
#6D2194 #943321 #489421 #218194
square
#6D2194 #943321 #489421 #218194
split-complementary
#6D2194 #819421 #219433
monochromatic
#230B30 #481662 #6D2194 #922CC6 #AD56D9

Accessibility & contrast

On white

9.15
#6D2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6D2194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2194
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2194#FFFFFF#000000##FFFFFF
##6D21941.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#064992
Tritanopia (blue-blind)
#683C5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d2194;
/* rgb */ color: rgb(109, 33, 148);
/* oklch */ color: oklch(42.5% 0.179 311.0);
Tailwind
colors: {
  custom: {
    50: '#9b65b4',
    500: '#6d2194',
    950: '#000000',
  },
}
SCSS
$custom: #6d2194;
$custom-light: #9b65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2194",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 279.652,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42468,
    "c": 0.17945,
    "h": 311
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#6D2194
secondary
#77BD54
accent
#E74179
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D2194

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

Preview Lab → · Contrast checker → · Palette generator →

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