#6E23AA#6E23AA

#6E23AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.6% C 0.199 H 304.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6E23AA
RGBrgb(110, 35, 170)
HSLhsl(273, 66%, 40%)
HSVhsv(273, 79%, 67%)
CMYKcmyk(35.3%, 79.4%, 0%, 33.3%)
CIE-LABlab(32.74, 55.74, -57.63)
CIE-LCHlch(32.74, 80.18, 314.04°)
OKLaboklab(44.56% 0.1123 -0.1643)
OKLCHoklch(44.56% 0.199 304.4)
XYZxyz(14.2855, 7.4194, 38.7019)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23AA #5FAA23
analogous
#2A23AA #6E23AA #AA23A3
triadic
#6E23AA #AA6E23 #23AA6E
tetradic
#6E23AA #AA2A23 #5FAA23 #23A3AA
square
#6E23AA #AA2A23 #5FAA23 #23A3AA
split-complementary
#6E23AA #A3AA23 #23AA2A
monochromatic
#2C0E44 #4D1977 #6E23AA #8E35D5 #AA68E0

Accessibility & contrast

On white

8.45
#6E23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6E23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23AA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23AA#FFFFFF#000000##FFFFFF
##6E23AA1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#624767
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e23aa;
/* rgb */ color: rgb(110, 35, 170);
/* oklch */ color: oklch(44.6% 0.199 304.4);
Tailwind
colors: {
  custom: {
    50: '#9d67c4',
    500: '#6e23aa',
    950: '#000000',
  },
}
SCSS
$custom: #6e23aa;
$custom-light: #9d67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23aa",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 273.333,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.19902,
    "h": 304.4
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#6E23AA
secondary
#8FC663
accent
#E93F8A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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