#6D2498#6D2498

#6D2498 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.180 H 309.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6D2498
RGBrgb(109, 36, 152)
HSLhsl(278, 62%, 37%)
HSVhsv(278, 76%, 60%)
CMYKcmyk(28.3%, 76.3%, 0%, 40.4%)
CIE-LABlab(31.30, 51.09, -49.08)
CIE-LCHlch(31.30, 70.85, 316.15°)
OKLaboklab(43.07% 0.1142 -0.1392)
OKLCHoklch(43.07% 0.18 309.4)
XYZxyz(12.6039, 6.7802, 30.3444)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2498 #4F9824
analogous
#332498 #6D2498 #982489
triadic
#6D2498 #986D24 #24986D
tetradic
#6D2498 #983324 #4F9824 #248998
square
#6D2498 #983324 #4F9824 #248998
split-complementary
#6D2498 #899824 #249833
monochromatic
#260D35 #4A1867 #6D2498 #9030C9 #AB5ED9

Accessibility & contrast

On white

8.91
#6D2498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6D2498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2498
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2498#FFFFFF#000000##FFFFFF
##6D24981.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#67405D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d2498;
/* rgb */ color: rgb(109, 36, 152);
/* oklch */ color: oklch(43.1% 0.180 309.4);
Tailwind
colors: {
  custom: {
    50: '#9b67b7',
    500: '#6d2498',
    950: '#000000',
  },
}
SCSS
$custom: #6d2498;
$custom-light: #9b67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2498",
  "rgb": {
    "r": 109,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 277.759,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.18007,
    "h": 309.4
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#6D2498
secondary
#7FBE5A
accent
#E5437F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D2498

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

Preview Lab → · Contrast checker → · Palette generator →

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