#6A2296#6A2296

#6A2296 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.179 H 308.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6A2296
RGBrgb(106, 34, 150)
HSLhsl(277, 63%, 36%)
HSVhsv(277, 77%, 59%)
CMYKcmyk(29.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(30.43, 50.86, -49.30)
CIE-LCHlch(30.43, 70.84, 315.89°)
OKLaboklab(42.31% 0.1123 -0.1399)
OKLCHoklch(42.31% 0.179 308.7)
XYZxyz(12.0198, 6.4104, 29.4524)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2296 #4E9622
analogous
#302296 #6A2296 #962288
triadic
#6A2296 #966A22 #22966A
tetradic
#6A2296 #963022 #4E9622 #228896
square
#6A2296 #963022 #4E9622 #228896
split-complementary
#6A2296 #889622 #229630
monochromatic
#230B32 #471764 #6A2296 #8D2DC8 #A959D9

Accessibility & contrast

On white

9.20
#6A2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6A2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2296
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2296#FFFFFF#000000##FFFFFF
##6A22961.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#633E5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a2296;
/* rgb */ color: rgb(106, 34, 150);
/* oklch */ color: oklch(42.3% 0.179 308.7);
Tailwind
colors: {
  custom: {
    50: '#9965b6',
    500: '#6a2296',
    950: '#000000',
  },
}
SCSS
$custom: #6a2296;
$custom-light: #9965b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2296",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 277.241,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.17942,
    "h": 308.7
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#6A2296
secondary
#7DBE56
accent
#E64280
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A2296

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

Preview Lab → · Contrast checker → · Palette generator →

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