#6A2299#6A2299

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

Color values

HEX#6A2299
RGBrgb(106, 34, 153)
HSLhsl(276, 64%, 37%)
HSVhsv(276, 78%, 60%)
CMYKcmyk(30.7%, 77.8%, 0%, 40%)
CIE-LABlab(30.66, 51.54, -50.76)
CIE-LCHlch(30.66, 72.34, 315.44°)
OKLaboklab(42.55% 0.1116 -0.1442)
OKLCHoklch(42.55% 0.182 307.7)
XYZxyz(12.2644, 6.5083, 30.7410)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2299 #519922
analogous
#2F2299 #6A2299 #99228D
triadic
#6A2299 #996A22 #22996A
tetradic
#6A2299 #992F22 #519922 #228D99
square
#6A2299 #992F22 #519922 #228D99
split-complementary
#6A2299 #8D9922 #22992F
monochromatic
#250C35 #471767 #6A2299 #8D2DCB #A85BDB

Accessibility & contrast

On white

9.12
#6A2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6A2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2299
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2299#FFFFFF#000000##FFFFFF
##6A22991.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#62405D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2299;
/* rgb */ color: rgb(106, 34, 153);
/* oklch */ color: oklch(42.5% 0.182 307.7);
Tailwind
colors: {
  custom: {
    50: '#9965b8',
    500: '#6a2299',
    950: '#000000',
  },
}
SCSS
$custom: #6a2299;
$custom-light: #9965b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2299",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 276.303,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.18239,
    "h": 307.7
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#6A2299
secondary
#81BF58
accent
#E74183
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2299

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

Preview Lab → · Contrast checker → · Palette generator →

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