#6D2A98#6D2A98

#6D2A98 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.173 H 308.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6D2A98
RGBrgb(109, 42, 152)
HSLhsl(277, 57%, 38%)
HSVhsv(277, 72%, 60%)
CMYKcmyk(28.3%, 72.4%, 0%, 40.4%)
CIE-LABlab(32.20, 48.53, -47.63)
CIE-LCHlch(32.20, 68.00, 315.54°)
OKLaboklab(43.71% 0.1082 -0.135)
OKLCHoklch(43.71% 0.173 308.7)
XYZxyz(12.8010, 7.1744, 30.4101)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2A98 #55982A
analogous
#362A98 #6D2A98 #982A8C
triadic
#6D2A98 #986D2A #2A986D
tetradic
#6D2A98 #98362A #55982A #2A8C98
square
#6D2A98 #98362A #55982A #2A8C98
split-complementary
#6D2A98 #8C982A #2A9836
monochromatic
#281038 #4B1D68 #6D2A98 #8F37C8 #AA67D5

Accessibility & contrast

On white

8.62
#6D2A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6D2A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2A98
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2A98#FFFFFF#000000##FFFFFF
##6D2A981.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#0E4D96
Tritanopia (blue-blind)
#66435E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d2a98;
/* rgb */ color: rgb(109, 42, 152);
/* oklch */ color: oklch(43.7% 0.173 308.7);
Tailwind
colors: {
  custom: {
    50: '#9b6ab7',
    500: '#6d2a98',
    950: '#000000',
  },
}
SCSS
$custom: #6d2a98;
$custom-light: #9b6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2a98",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 276.545,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43705,
    "c": 0.17298,
    "h": 308.7
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#6D2A98
secondary
#85BB62
accent
#E04883
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6D2A98

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

Preview Lab → · Contrast checker → · Palette generator →

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