#6D2598#6D2598

#6D2598 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.179 H 309.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6D2598
RGBrgb(109, 37, 152)
HSLhsl(278, 61%, 37%)
HSVhsv(278, 76%, 60%)
CMYKcmyk(28.3%, 75.7%, 0%, 40.4%)
CIE-LABlab(31.44, 50.68, -48.85)
CIE-LCHlch(31.44, 70.39, 316.05°)
OKLaboklab(43.17% 0.1132 -0.1385)
OKLCHoklch(43.17% 0.179 309.3)
XYZxyz(12.6346, 6.8416, 30.3546)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2598 #509825
analogous
#332598 #6D2598 #98258A
triadic
#6D2598 #986D25 #25986D
tetradic
#6D2598 #983325 #509825 #258A98
square
#6D2598 #983325 #509825 #258A98
split-complementary
#6D2598 #8A9825 #259833
monochromatic
#260D36 #4A1967 #6D2598 #9031C9 #AB5FD8

Accessibility & contrast

On white

8.87
#6D2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6D2598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2598
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2598#FFFFFF#000000##FFFFFF
##6D25981.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d2598;
/* rgb */ color: rgb(109, 37, 152);
/* oklch */ color: oklch(43.2% 0.179 309.3);
Tailwind
colors: {
  custom: {
    50: '#9b67b7',
    500: '#6d2598',
    950: '#000000',
  },
}
SCSS
$custom: #6d2598;
$custom-light: #9b67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2598",
  "rgb": {
    "r": 109,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 277.565,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43168,
    "c": 0.17894,
    "h": 309.3
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#6D2598
secondary
#80BD5C
accent
#E44480
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D2598

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

Preview Lab → · Contrast checker → · Palette generator →

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