#6A23AA#6A23AA

#6A23AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.198 H 302.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6A23AA
RGBrgb(106, 35, 170)
HSLhsl(272, 66%, 40%)
HSVhsv(272, 79%, 67%)
CMYKcmyk(37.6%, 79.4%, 0%, 33.3%)
CIE-LABlab(32.19, 55.08, -58.56)
CIE-LCHlch(32.19, 80.40, 313.25°)
OKLaboklab(44.05% 0.1065 -0.1672)
OKLCHoklch(44.05% 0.198 302.5)
XYZxyz(13.7988, 7.1685, 38.6791)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23AA #63AA23
analogous
#2723AA #6A23AA #AA23A6
triadic
#6A23AA #AA6A23 #23AA6A
tetradic
#6A23AA #AA2723 #63AA23 #23A6AA
square
#6A23AA #AA2723 #63AA23 #23A6AA
split-complementary
#6A23AA #A6AA23 #23AA27
monochromatic
#2B0E44 #4A1977 #6A23AA #8935D5 #A768E0

Accessibility & contrast

On white

8.63
#6A23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6A23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23AA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23AA#FFFFFF#000000##FFFFFF
##6A23AA1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#5C4767
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a23aa;
/* rgb */ color: rgb(106, 35, 170);
/* oklch */ color: oklch(44.1% 0.198 302.5);
Tailwind
colors: {
  custom: {
    50: '#9b67c4',
    500: '#6a23aa',
    950: '#000000',
  },
}
SCSS
$custom: #6a23aa;
$custom-light: #9b67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23aa",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 271.556,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44052,
    "c": 0.19822,
    "h": 302.5
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#6A23AA
secondary
#92C663
accent
#E93F8F
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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