#6D2A94#6D2A94

#6D2A94 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.169 H 310.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#6D2A94
RGBrgb(109, 42, 148)
HSLhsl(278, 56%, 37%)
HSVhsv(278, 72%, 58%)
CMYKcmyk(26.4%, 71.6%, 0%, 42%)
CIE-LABlab(31.91, 47.62, -45.65)
CIE-LCHlch(31.91, 65.96, 316.21°)
OKLaboklab(43.41% 0.1087 -0.1292)
OKLCHoklch(43.41% 0.169 310.1)
XYZxyz(12.4789, 7.0455, 28.7138)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2A94 #51942A
analogous
#382A94 #6D2A94 #942A86
triadic
#6D2A94 #946D2A #2A946D
tetradic
#6D2A94 #94382A #51942A #2A8694
square
#6D2A94 #94382A #51942A #2A8694
split-complementary
#6D2A94 #86942A #2A9438
monochromatic
#270F35 #4A1C64 #6D2A94 #9038C4 #AB65D3

Accessibility & contrast

On white

8.72
#6D2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6D2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2A94
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2A94#FFFFFF#000000##FFFFFF
##6D2A941.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#174C92
Tritanopia (blue-blind)
#68415C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d2a94;
/* rgb */ color: rgb(109, 42, 148);
/* oklch */ color: oklch(43.4% 0.169 310.1);
Tailwind
colors: {
  custom: {
    50: '#9b6ab4',
    500: '#6d2a94',
    950: '#000000',
  },
}
SCSS
$custom: #6d2a94;
$custom-light: #9b6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2a94",
  "rgb": {
    "r": 109,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 277.925,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43406,
    "c": 0.16885,
    "h": 310.1
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#6D2A94
secondary
#81B960
accent
#DF4980
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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