#6E23A4#6E23A4

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

Color values

HEX#6E23A4
RGBrgb(110, 35, 164)
HSLhsl(275, 65%, 39%)
HSVhsv(275, 79%, 64%)
CMYKcmyk(32.9%, 78.7%, 0%, 35.7%)
CIE-LABlab(32.25, 54.37, -54.82)
CIE-LCHlch(32.25, 77.21, 314.76°)
OKLaboklab(44.06% 0.1139 -0.156)
OKLCHoklch(44.06% 0.193 306.1)
XYZxyz(13.7308, 7.1975, 35.7807)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23A4 #59A423
analogous
#2E23A4 #6E23A4 #A4239A
triadic
#6E23A4 #A46E23 #23A46E
tetradic
#6E23A4 #A42E23 #59A423 #239AA4
square
#6E23A4 #A42E23 #59A423 #239AA4
split-complementary
#6E23A4 #9AA423 #23A42E
monochromatic
#2A0D3F #4C1872 #6E23A4 #8F31D3 #AB64DE

Accessibility & contrast

On white

8.61
#6E23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6E23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23A4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23A4#FFFFFF#000000##FFFFFF
##6E23A41.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#644463
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e23a4;
/* rgb */ color: rgb(110, 35, 164);
/* oklch */ color: oklch(44.1% 0.193 306.1);
Tailwind
colors: {
  custom: {
    50: '#9d67c0',
    500: '#6e23a4',
    950: '#000000',
  },
}
SCSS
$custom: #6e23a4;
$custom-light: #9d67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23a4",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 274.884,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44062,
    "c": 0.19316,
    "h": 306.1
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#6E23A4
secondary
#89C360
accent
#E84086
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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