#6D2698#6D2698

#6D2698 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.178 H 309.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#6D2698
RGBrgb(109, 38, 152)
HSLhsl(277, 60%, 37%)
HSVhsv(277, 75%, 60%)
CMYKcmyk(28.3%, 75%, 0%, 40.4%)
CIE-LABlab(31.59, 50.27, -48.62)
CIE-LCHlch(31.59, 69.93, 315.95°)
OKLaboklab(43.27% 0.1123 -0.1379)
OKLCHoklch(43.27% 0.178 309.2)
XYZxyz(12.6661, 6.9047, 30.3652)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2698 #519826
analogous
#342698 #6D2698 #98268A
triadic
#6D2698 #986D26 #26986D
tetradic
#6D2698 #983426 #519826 #268A98
square
#6D2698 #983426 #519826 #268A98
split-complementary
#6D2698 #8A9826 #269834
monochromatic
#270E36 #4A1A67 #6D2698 #9032C9 #AB61D7

Accessibility & contrast

On white

8.82
#6D2698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6D2698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2698
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2698#FFFFFF#000000##FFFFFF
##6D26981.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#044B96
Tritanopia (blue-blind)
#67415D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d2698;
/* rgb */ color: rgb(109, 38, 152);
/* oklch */ color: oklch(43.3% 0.178 309.2);
Tailwind
colors: {
  custom: {
    50: '#9b68b7',
    500: '#6d2698',
    950: '#000000',
  },
}
SCSS
$custom: #6d2698;
$custom-light: #9b68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2698",
  "rgb": {
    "r": 109,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 277.368,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43271,
    "c": 0.17779,
    "h": 309.2
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#6D2698
secondary
#81BD5D
accent
#E34580
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D2698

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

Preview Lab → · Contrast checker → · Palette generator →

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