#6A2293#6A2293

#6A2293 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.176 H 309.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6A2293
RGBrgb(106, 34, 147)
HSLhsl(278, 62%, 35%)
HSVhsv(278, 77%, 58%)
CMYKcmyk(27.9%, 76.9%, 0%, 42.4%)
CIE-LABlab(30.19, 50.19, -47.84)
CIE-LCHlch(30.19, 69.33, 316.38°)
OKLaboklab(42.07% 0.1129 -0.1356)
OKLCHoklch(42.07% 0.176 309.8)
XYZxyz(11.7813, 6.3151, 28.1964)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2293 #4B9322
analogous
#312293 #6A2293 #932283
triadic
#6A2293 #936A22 #22936A
tetradic
#6A2293 #933122 #4B9322 #228393
square
#6A2293 #933122 #4B9322 #228393
split-complementary
#6A2293 #839322 #229331
monochromatic
#220B30 #461761 #6A2293 #8E2DC5 #A957D8

Accessibility & contrast

On white

9.28
#6A2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6A2293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2293
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2293#FFFFFF#000000##FFFFFF
##6A22931.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#014891
Tritanopia (blue-blind)
#643D59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2293;
/* rgb */ color: rgb(106, 34, 147);
/* oklch */ color: oklch(42.1% 0.176 309.8);
Tailwind
colors: {
  custom: {
    50: '#9965b3',
    500: '#6a2293',
    950: '#000000',
  },
}
SCSS
$custom: #6a2293;
$custom-light: #9965b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2293",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 278.23,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.17647,
    "h": 309.8
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#6A2293
secondary
#7ABC55
accent
#E5427E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2293

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

Preview Lab → · Contrast checker → · Palette generator →

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