#6D2B98#6D2B98

#6D2B98 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.8% C 0.172 H 308.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6D2B98
RGBrgb(109, 43, 152)
HSLhsl(276, 56%, 38%)
HSVhsv(276, 72%, 60%)
CMYKcmyk(28.3%, 71.7%, 0%, 40.4%)
CIE-LABlab(32.36, 48.08, -47.37)
CIE-LCHlch(32.36, 67.49, 315.43°)
OKLaboklab(43.82% 0.1071 -0.1342)
OKLCHoklch(43.82% 0.172 308.6)
XYZxyz(12.8369, 7.2462, 30.4221)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2B98 #56982B
analogous
#362B98 #6D2B98 #982B8C
triadic
#6D2B98 #986D2B #2B986D
tetradic
#6D2B98 #98362B #56982B #2B8C98
square
#6D2B98 #98362B #56982B #2B8C98
split-complementary
#6D2B98 #8C982B #2B9836
monochromatic
#291039 #4B1E68 #6D2B98 #8F39C7 #AA69D5

Accessibility & contrast

On white

8.57
#6D2B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6D2B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2B98
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2B98#FFFFFF#000000##FFFFFF
##6D2B981.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#104D96
Tritanopia (blue-blind)
#66435E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d2b98;
/* rgb */ color: rgb(109, 43, 152);
/* oklch */ color: oklch(43.8% 0.172 308.6);
Tailwind
colors: {
  custom: {
    50: '#9b6ab7',
    500: '#6d2b98',
    950: '#000000',
  },
}
SCSS
$custom: #6d2b98;
$custom-light: #9b6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2b98",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 276.33,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43819,
    "c": 0.17173,
    "h": 308.6
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#6D2B98
secondary
#86BB64
accent
#DF4984
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6D2B98

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

Preview Lab → · Contrast checker → · Palette generator →

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