#6E23AC#6E23AC

#6E23AC is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.201 H 303.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6E23AC
RGBrgb(110, 35, 172)
HSLhsl(273, 66%, 41%)
HSVhsv(273, 80%, 67%)
CMYKcmyk(36%, 79.7%, 0%, 32.5%)
CIE-LABlab(32.91, 56.20, -58.56)
CIE-LCHlch(32.91, 81.17, 313.82°)
OKLaboklab(44.73% 0.1118 -0.167)
OKLCHoklch(44.73% 0.201 303.8)
XYZxyz(14.4761, 7.4956, 39.7059)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23AC #61AC23
analogous
#2A23AC #6E23AC #AC23A5
triadic
#6E23AC #AC6E23 #23AC6E
tetradic
#6E23AC #AC2A23 #61AC23 #23A5AC
square
#6E23AC #AC2A23 #61AC23 #23A5AC
split-complementary
#6E23AC #A5AC23 #23AC2A
monochromatic
#2D0E46 #4D1979 #6E23AC #8E36D6 #AA69E0

Accessibility & contrast

On white

8.40
#6E23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E23AC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23AC#FFFFFF#000000##FFFFFF
##6E23AC1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#614868
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e23ac;
/* rgb */ color: rgb(110, 35, 172);
/* oklch */ color: oklch(44.7% 0.201 303.8);
Tailwind
colors: {
  custom: {
    50: '#9e67c6',
    500: '#6e23ac',
    950: '#000000',
  },
}
SCSS
$custom: #6e23ac;
$custom-light: #9e67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23ac",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 272.847,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44725,
    "c": 0.20098,
    "h": 303.8
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#6E23AC
secondary
#91C664
accent
#E93F8C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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