#6E23A1#6E23A1

#6E23A1 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.190 H 307.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6E23A1
RGBrgb(110, 35, 161)
HSLhsl(276, 64%, 38%)
HSVhsv(276, 78%, 63%)
CMYKcmyk(31.7%, 78.3%, 0%, 36.9%)
CIE-LABlab(32.01, 53.69, -53.40)
CIE-LCHlch(32.01, 75.72, 315.16°)
OKLaboklab(43.82% 0.1146 -0.1519)
OKLCHoklch(43.82% 0.19 307)
XYZxyz(13.4631, 7.0904, 34.3706)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23A1 #56A123
analogous
#2F23A1 #6E23A1 #A12395
triadic
#6E23A1 #A16E23 #23A16E
tetradic
#6E23A1 #A12F23 #56A123 #2395A1
square
#6E23A1 #A12F23 #56A123 #2395A1
split-complementary
#6E23A1 #95A123 #23A12F
monochromatic
#290D3C #4C186F #6E23A1 #902FD2 #AB62DD

Accessibility & contrast

On white

8.68
#6E23A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6E23A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23A1
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23A1#FFFFFF#000000##FFFFFF
##6E23A11.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#654361
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e23a1;
/* rgb */ color: rgb(110, 35, 161);
/* oklch */ color: oklch(43.8% 0.190 307.0);
Tailwind
colors: {
  custom: {
    50: '#9d67be',
    500: '#6e23a1',
    950: '#000000',
  },
}
SCSS
$custom: #6e23a1;
$custom-light: #9d67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23a1",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 275.714,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43818,
    "c": 0.19024,
    "h": 307
  },
  "luminance": 0.0709
}

Semantic roles & 50–950 ramp

primary
#6E23A1
secondary
#86C25E
accent
#E74184
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E23A1

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

Preview Lab → · Contrast checker → · Palette generator →

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