#6B2099#6B2099

#6B2099 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.185 H 308.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6B2099
RGBrgb(107, 32, 153)
HSLhsl(277, 65%, 36%)
HSVhsv(277, 79%, 60%)
CMYKcmyk(30.1%, 79.1%, 0%, 40%)
CIE-LABlab(30.54, 52.49, -50.94)
CIE-LCHlch(30.54, 73.14, 315.86°)
OKLaboklab(42.5% 0.1148 -0.1447)
OKLCHoklch(42.5% 0.185 308.4)
XYZxyz(12.3285, 6.4589, 30.7281)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2099 #4E9920
analogous
#2F2099 #6B2099 #99208B
triadic
#6B2099 #996B20 #20996B
tetradic
#6B2099 #992F20 #4E9920 #208B99
square
#6B2099 #992F20 #4E9920 #208B99
split-complementary
#6B2099 #8B9920 #20992F
monochromatic
#240B34 #481566 #6B2099 #8E2BCC #AA57DC

Accessibility & contrast

On white

9.16
#6B2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6B2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2099
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2099#FFFFFF#000000##FFFFFF
##6B20991.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#643E5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2099;
/* rgb */ color: rgb(107, 32, 153);
/* oklch */ color: oklch(42.5% 0.185 308.4);
Tailwind
colors: {
  custom: {
    50: '#9a65b8',
    500: '#6b2099',
    950: '#000000',
  },
}
SCSS
$custom: #6b2099;
$custom-light: #9a65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2099",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 277.19,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42497,
    "c": 0.18473,
    "h": 308.4
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#6B2099
secondary
#7EC055
accent
#E83F80
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B2099

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

Preview Lab → · Contrast checker → · Palette generator →

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