#6E23BD#6E23BD

#6E23BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.218 H 299.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6E23BD
RGBrgb(110, 35, 189)
HSLhsl(269, 69%, 44%)
HSVhsv(269, 81%, 74%)
CMYKcmyk(41.8%, 81.5%, 0%, 25.9%)
CIE-LABlab(34.38, 60.16, -66.26)
CIE-LCHlch(34.38, 89.50, 312.24°)
OKLaboklab(46.2% 0.1067 -0.1896)
OKLCHoklch(46.2% 0.218 299.4)
XYZxyz(16.2144, 8.1910, 48.8610)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23BD #72BD23
analogous
#2325BD #6E23BD #BB23BD
triadic
#6E23BD #BD6E23 #23BD6E
tetradic
#6E23BD #BD2325 #72BD23 #23BDBB
square
#6E23BD #BD2325 #72BD23 #23BDBB
split-complementary
#6E23BD #BDBB23 #25BD23
monochromatic
#321056 #501989 #6E23BD #8D41DC #AC75E5

Accessibility & contrast

On white

7.96
#6E23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6E23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23BD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23BD#FFFFFF#000000##FFFFFF
##6E23BD1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#5B4F72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e23bd;
/* rgb */ color: rgb(110, 35, 189);
/* oklch */ color: oklch(46.2% 0.218 299.4);
Tailwind
colors: {
  custom: {
    50: '#9f68d2',
    500: '#6e23bd',
    950: '#000000',
  },
}
SCSS
$custom: #6e23bd;
$custom-light: #9f68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23bd",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 269.221,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46197,
    "c": 0.21759,
    "h": 299.4
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#6E23BD
secondary
#9FCD6F
accent
#EC3C96
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6E23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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