#6A2093#6A2093

#6A2093 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.179 H 310.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6A2093
RGBrgb(106, 32, 147)
HSLhsl(279, 64%, 35%)
HSVhsv(279, 78%, 58%)
CMYKcmyk(27.9%, 78.2%, 0%, 42.4%)
CIE-LABlab(29.92, 50.97, -48.28)
CIE-LCHlch(29.92, 70.20, 316.55°)
OKLaboklab(41.88% 0.1147 -0.1369)
OKLCHoklch(41.88% 0.179 310)
XYZxyz(11.7258, 6.2040, 28.1779)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2093 #499320
analogous
#312093 #6A2093 #932082
triadic
#6A2093 #936A20 #20936A
tetradic
#6A2093 #933120 #499320 #208293
square
#6A2093 #933120 #499320 #208293
split-complementary
#6A2093 #829320 #209331
monochromatic
#220A2E #461561 #6A2093 #8E2BC5 #AA54DA

Accessibility & contrast

On white

9.37
#6A2093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6A2093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2093
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2093#FFFFFF#000000##FFFFFF
##6A20931.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004891
Tritanopia (blue-blind)
#643C59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6a2093;
/* rgb */ color: rgb(106, 32, 147);
/* oklch */ color: oklch(41.9% 0.179 310.0);
Tailwind
colors: {
  custom: {
    50: '#9964b3',
    500: '#6a2093',
    950: '#000000',
  },
}
SCSS
$custom: #6a2093;
$custom-light: #9964b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2093",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 278.609,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.17865,
    "h": 310
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#6A2093
secondary
#78BD52
accent
#E7417C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2093

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

Preview Lab → · Contrast checker → · Palette generator →

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