#6E23AF#6E23AF

#6E23AF is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.204 H 303.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6E23AF
RGBrgb(110, 35, 175)
HSLhsl(272, 67%, 41%)
HSVhsv(272, 80%, 69%)
CMYKcmyk(37.1%, 80%, 0%, 31.4%)
CIE-LABlab(33.16, 56.89, -59.94)
CIE-LCHlch(33.16, 82.64, 313.50°)
OKLaboklab(44.98% 0.1109 -0.1711)
OKLCHoklch(44.98% 0.204 303)
XYZxyz(14.7675, 7.6122, 41.2404)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23AF #64AF23
analogous
#2823AF #6E23AF #AF23AA
triadic
#6E23AF #AF6E23 #23AF6E
tetradic
#6E23AF #AF2823 #64AF23 #23AAAF
square
#6E23AF #AF2823 #64AF23 #23AAAF
split-complementary
#6E23AF #AAAF23 #23AF28
monochromatic
#2E0F49 #4E197C #6E23AF #8D38D7 #AA6BE1

Accessibility & contrast

On white

8.33
#6E23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6E23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23AF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23AF#FFFFFF#000000##FFFFFF
##6E23AF1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#604969
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e23af;
/* rgb */ color: rgb(110, 35, 175);
/* oklch */ color: oklch(45.0% 0.204 303.0);
Tailwind
colors: {
  custom: {
    50: '#9e68c8',
    500: '#6e23af',
    950: '#000000',
  },
}
SCSS
$custom: #6e23af;
$custom-light: #9e68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23af",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 272.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.20391,
    "h": 303
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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