#6A2294#6A2294

#6A2294 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.177 H 309.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6A2294
RGBrgb(106, 34, 148)
HSLhsl(278, 63%, 36%)
HSVhsv(278, 77%, 58%)
CMYKcmyk(28.4%, 77%, 0%, 42%)
CIE-LABlab(30.27, 50.41, -48.33)
CIE-LCHlch(30.27, 69.83, 316.21°)
OKLaboklab(42.15% 0.1127 -0.1371)
OKLCHoklch(42.15% 0.177 309.4)
XYZxyz(11.8601, 6.3466, 28.6115)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2294 #4C9422
analogous
#312294 #6A2294 #942285
triadic
#6A2294 #946A22 #22946A
tetradic
#6A2294 #943122 #4C9422 #228594
square
#6A2294 #943122 #4C9422 #228594
split-complementary
#6A2294 #859422 #229431
monochromatic
#230B30 #461762 #6A2294 #8E2DC6 #A958D9

Accessibility & contrast

On white

9.25
#6A2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6A2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2294
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2294#FFFFFF#000000##FFFFFF
##6A22941.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#643D5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a2294;
/* rgb */ color: rgb(106, 34, 148);
/* oklch */ color: oklch(42.2% 0.177 309.4);
Tailwind
colors: {
  custom: {
    50: '#9965b4',
    500: '#6a2294',
    950: '#000000',
  },
}
SCSS
$custom: #6a2294;
$custom-light: #9965b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2294",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 277.895,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42152,
    "c": 0.17745,
    "h": 309.4
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#6A2294
secondary
#7BBD55
accent
#E6427E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2294

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

Preview Lab → · Contrast checker → · Palette generator →

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