#6E23BE#6E23BE

#6E23BE is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.219 H 299.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6E23BE
RGBrgb(110, 35, 190)
HSLhsl(269, 69%, 44%)
HSVhsv(269, 82%, 75%)
CMYKcmyk(42.1%, 81.6%, 0%, 25.5%)
CIE-LABlab(34.47, 60.40, -66.71)
CIE-LCHlch(34.47, 89.98, 312.16°)
OKLaboklab(46.29% 0.1064 -0.1909)
OKLCHoklch(46.29% 0.219 299.1)
XYZxyz(16.3233, 8.2345, 49.4346)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23BE #73BE23
analogous
#2326BE #6E23BE #BC23BE
triadic
#6E23BE #BE6E23 #23BE6E
tetradic
#6E23BE #BE2326 #73BE23 #23BEBC
square
#6E23BE #BE2326 #73BE23 #23BEBC
split-complementary
#6E23BE #BEBC23 #26BE23
monochromatic
#321057 #50198A #6E23BE #8D42DC #AC76E6

Accessibility & contrast

On white

7.93
#6E23BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6E23BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23BE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23BE#FFFFFF#000000##FFFFFF
##6E23BE1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#5A5072
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e23be;
/* rgb */ color: rgb(110, 35, 190);
/* oklch */ color: oklch(46.3% 0.219 299.1);
Tailwind
colors: {
  custom: {
    50: '#9f68d3',
    500: '#6e23be',
    950: '#000000',
  },
}
SCSS
$custom: #6e23be;
$custom-light: #9f68d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23be",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 190
  },
  "hsl": {
    "h": 269.032,
    "s": 68.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46286,
    "c": 0.21857,
    "h": 299.1
  },
  "luminance": 0.08235
}

Semantic roles & 50–950 ramp

primary
#6E23BE
secondary
#A0CD70
accent
#EC3C97
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6E23BE

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

Preview Lab → · Contrast checker → · Palette generator →

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