#6D2098#6D2098

#6D2098 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.184 H 309.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6D2098
RGBrgb(109, 32, 152)
HSLhsl(279, 65%, 36%)
HSVhsv(279, 79%, 60%)
CMYKcmyk(28.3%, 78.9%, 0%, 40.4%)
CIE-LABlab(30.76, 52.63, -49.96)
CIE-LCHlch(30.76, 72.57, 316.49°)
OKLaboklab(42.69% 0.1178 -0.1418)
OKLCHoklch(42.69% 0.184 309.7)
XYZxyz(12.4895, 6.5515, 30.3063)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2098 #4B9820
analogous
#312098 #6D2098 #982087
triadic
#6D2098 #986D20 #20986D
tetradic
#6D2098 #983120 #4B9820 #208798
square
#6D2098 #983120 #4B9820 #208798
split-complementary
#6D2098 #879820 #209831
monochromatic
#240B33 #491565 #6D2098 #912BCB #AC57DC

Accessibility & contrast

On white

9.09
#6D2098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6D2098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2098
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2098#FFFFFF#000000##FFFFFF
##6D20981.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#673E5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d2098;
/* rgb */ color: rgb(109, 32, 152);
/* oklch */ color: oklch(42.7% 0.184 309.7);
Tailwind
colors: {
  custom: {
    50: '#9c65b7',
    500: '#6d2098',
    950: '#000000',
  },
}
SCSS
$custom: #6d2098;
$custom-light: #9c65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2098",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 278.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.18434,
    "h": 309.7
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#6D2098
secondary
#7BBF54
accent
#E8407C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D2098

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

Preview Lab → · Contrast checker → · Palette generator →

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