#6E23A5#6E23A5

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

Color values

HEX#6E23A5
RGBrgb(110, 35, 165)
HSLhsl(275, 65%, 39%)
HSVhsv(275, 79%, 65%)
CMYKcmyk(33.3%, 78.8%, 0%, 35.3%)
CIE-LABlab(32.33, 54.60, -55.29)
CIE-LCHlch(32.33, 77.71, 314.64°)
OKLaboklab(44.14% 0.1136 -0.1574)
OKLCHoklch(44.14% 0.194 305.8)
XYZxyz(13.8215, 7.2338, 36.2581)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23A5 #5AA523
analogous
#2D23A5 #6E23A5 #A5239B
triadic
#6E23A5 #A56E23 #23A56E
tetradic
#6E23A5 #A52D23 #5AA523 #239BA5
square
#6E23A5 #A52D23 #5AA523 #239BA5
split-complementary
#6E23A5 #9BA523 #23A52D
monochromatic
#2B0E40 #4C1873 #6E23A5 #8F32D3 #AB64DE

Accessibility & contrast

On white

8.58
#6E23A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6E23A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23A5
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23A5#FFFFFF#000000##FFFFFF
##6E23A51.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#644564
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e23a5;
/* rgb */ color: rgb(110, 35, 165);
/* oklch */ color: oklch(44.1% 0.194 305.8);
Tailwind
colors: {
  custom: {
    50: '#9d67c1',
    500: '#6e23a5',
    950: '#000000',
  },
}
SCSS
$custom: #6e23a5;
$custom-light: #9d67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23a5",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 274.615,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.19413,
    "h": 305.8
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#6E23A5
secondary
#8AC460
accent
#E84087
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E23A5

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

Preview Lab → · Contrast checker → · Palette generator →

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