#6A219B#6A219B

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

Color values

HEX#6A219B
RGBrgb(106, 33, 155)
HSLhsl(276, 65%, 37%)
HSVhsv(276, 79%, 61%)
CMYKcmyk(31.6%, 78.7%, 0%, 39.2%)
CIE-LABlab(30.68, 52.38, -51.94)
CIE-LCHlch(30.68, 73.76, 315.24°)
OKLaboklab(42.62% 0.1121 -0.1477)
OKLCHoklch(42.62% 0.185 307.2)
XYZxyz(12.4028, 6.5186, 31.6088)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A219B #529B21
analogous
#2D219B #6A219B #9B218F
triadic
#6A219B #9B6A21 #219B6A
tetradic
#6A219B #9B2D21 #529B21 #218F9B
square
#6A219B #9B2D21 #529B21 #218F9B
split-complementary
#6A219B #8F9B21 #219B2D
monochromatic
#250C36 #471669 #6A219B #8D2CCD #A85ADC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A219B#FFFFFF#000000##FFFFFF
##6A219B1.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)
#00469E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#62405E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6a219b;
/* rgb */ color: rgb(106, 33, 155);
/* oklch */ color: oklch(42.6% 0.185 307.2);
Tailwind
colors: {
  custom: {
    50: '#9a65b9',
    500: '#6a219b',
    950: '#000000',
  },
}
SCSS
$custom: #6a219b;
$custom-light: #9a65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a219b",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 275.902,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.18539,
    "h": 307.2
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#6A219B
secondary
#82C058
accent
#E84083
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A219B

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

Preview Lab → · Contrast checker → · Palette generator →

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