#6E23A3#6E23A3

#6E23A3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.192 H 306.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6E23A3
RGBrgb(110, 35, 163)
HSLhsl(275, 65%, 39%)
HSVhsv(275, 79%, 64%)
CMYKcmyk(32.5%, 78.5%, 0%, 36.1%)
CIE-LABlab(32.17, 54.14, -54.35)
CIE-LCHlch(32.17, 76.72, 314.89°)
OKLaboklab(43.98% 0.1141 -0.1546)
OKLCHoklch(43.98% 0.192 306.4)
XYZxyz(13.6408, 7.1615, 35.3069)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23A3 #58A323
analogous
#2E23A3 #6E23A3 #A32398
triadic
#6E23A3 #A36E23 #23A36E
tetradic
#6E23A3 #A32E23 #58A323 #2398A3
square
#6E23A3 #A32E23 #58A323 #2398A3
split-complementary
#6E23A3 #98A323 #23A32E
monochromatic
#2A0D3E #4C1871 #6E23A3 #9031D3 #AB63DD

Accessibility & contrast

On white

8.63
#6E23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6E23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23A3
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23A3#FFFFFF#000000##FFFFFF
##6E23A31.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#654463
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e23a3;
/* rgb */ color: rgb(110, 35, 163);
/* oklch */ color: oklch(44.0% 0.192 306.4);
Tailwind
colors: {
  custom: {
    50: '#9d67bf',
    500: '#6e23a3',
    950: '#000000',
  },
}
SCSS
$custom: #6e23a3;
$custom-light: #9d67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23a3",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 275.156,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4398,
    "c": 0.19219,
    "h": 306.4
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#6E23A3
secondary
#88C35F
accent
#E84086
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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