#6A2099#6A2099

#6A2099 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.184 H 307.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#6A2099
RGBrgb(106, 32, 153)
HSLhsl(277, 65%, 36%)
HSVhsv(277, 79%, 60%)
CMYKcmyk(30.7%, 79.1%, 0%, 40%)
CIE-LABlab(30.39, 52.31, -51.19)
CIE-LCHlch(30.39, 73.19, 315.62°)
OKLaboklab(42.36% 0.1134 -0.1455)
OKLCHoklch(42.36% 0.184 307.9)
XYZxyz(12.2089, 6.3973, 30.7224)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2099 #4F9920
analogous
#2E2099 #6A2099 #99208C
triadic
#6A2099 #996A20 #20996A
tetradic
#6A2099 #992E20 #4F9920 #208C99
square
#6A2099 #992E20 #4F9920 #208C99
split-complementary
#6A2099 #8C9920 #20992E
monochromatic
#240B34 #471566 #6A2099 #8D2BCC #A857DC

Accessibility & contrast

On white

9.21
#6A2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6A2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2099
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2099#FFFFFF#000000##FFFFFF
##6A20991.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#623F5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2099;
/* rgb */ color: rgb(106, 32, 153);
/* oklch */ color: oklch(42.4% 0.184 307.9);
Tailwind
colors: {
  custom: {
    50: '#9a65b8',
    500: '#6a2099',
    950: '#000000',
  },
}
SCSS
$custom: #6a2099;
$custom-light: #9a65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2099",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 276.694,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42362,
    "c": 0.18446,
    "h": 307.9
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#6A2099
secondary
#7EC055
accent
#E83F81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2099

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

Preview Lab → · Contrast checker → · Palette generator →

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