#6A23AE#6A23AE

#6A23AE is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.202 H 301.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6A23AE
RGBrgb(106, 35, 174)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 80%, 68%)
CMYKcmyk(39.1%, 79.9%, 0%, 31.8%)
CIE-LABlab(32.53, 56.03, -60.40)
CIE-LCHlch(32.53, 82.39, 312.85°)
OKLaboklab(44.4% 0.1054 -0.1726)
OKLCHoklch(44.4% 0.202 301.4)
XYZxyz(14.1830, 7.3221, 40.7023)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23AE #67AE23
analogous
#2423AE #6A23AE #AE23AC
triadic
#6A23AE #AE6A23 #23AE6A
tetradic
#6A23AE #AE2423 #67AE23 #23ACAE
square
#6A23AE #AE2423 #67AE23 #23ACAE
split-complementary
#6A23AE #ACAE23 #23AE24
monochromatic
#2C0F48 #4B197B #6A23AE #8937D7 #A76AE1

Accessibility & contrast

On white

8.52
#6A23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6A23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23AE
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23AE#FFFFFF#000000##FFFFFF
##6A23AE1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#5B4969
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a23ae;
/* rgb */ color: rgb(106, 35, 174);
/* oklch */ color: oklch(44.4% 0.202 301.4);
Tailwind
colors: {
  custom: {
    50: '#9b67c7',
    500: '#6a23ae',
    950: '#000000',
  },
}
SCSS
$custom: #6a23ae;
$custom-light: #9b67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23ae",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 270.647,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44395,
    "c": 0.2022,
    "h": 301.4
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#6A23AE
secondary
#95C766
accent
#E93E92
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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