#6D23AE#6D23AE

#6D23AE is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.203 H 302.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6D23AE
RGBrgb(109, 35, 174)
HSLhsl(272, 67%, 41%)
HSVhsv(272, 80%, 68%)
CMYKcmyk(37.4%, 79.9%, 0%, 31.8%)
CIE-LABlab(32.94, 56.50, -59.72)
CIE-LCHlch(32.94, 82.21, 313.42°)
OKLaboklab(44.77% 0.1098 -0.1704)
OKLCHoklch(44.77% 0.203 302.8)
XYZxyz(14.5459, 7.5092, 40.7193)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D23AE #64AE23
analogous
#2723AE #6D23AE #AE23A9
triadic
#6D23AE #AE6D23 #23AE6D
tetradic
#6D23AE #AE2723 #64AE23 #23A9AE
square
#6D23AE #AE2723 #64AE23 #23A9AE
split-complementary
#6D23AE #A9AE23 #23AE27
monochromatic
#2D0F48 #4D197B #6D23AE #8C37D7 #AA6AE1

Accessibility & contrast

On white

8.39
#6D23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6D23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D23AE
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D23AE#FFFFFF#000000##FFFFFF
##6D23AE1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#5F4969
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d23ae;
/* rgb */ color: rgb(109, 35, 174);
/* oklch */ color: oklch(44.8% 0.203 302.8);
Tailwind
colors: {
  custom: {
    50: '#9d67c7',
    500: '#6d23ae',
    950: '#000000',
  },
}
SCSS
$custom: #6d23ae;
$custom-light: #9d67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d23ae",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 271.942,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.20274,
    "h": 302.8
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#6D23AE
secondary
#93C766
accent
#E93E8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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