#6E23D4#6E23D4

#6E23D4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.3% C 0.240 H 294.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6E23D4
RGBrgb(110, 35, 212)
HSLhsl(265, 72%, 48%)
HSVhsv(265, 83%, 83%)
CMYKcmyk(48.1%, 83.5%, 0%, 16.9%)
CIE-LABlab(36.50, 65.61, -76.20)
CIE-LCHlch(36.50, 100.56, 310.73°)
OKLaboklab(48.3% 0.0988 -0.2187)
OKLCHoklch(48.3% 0.24 294.3)
XYZxyz(18.9118, 9.2699, 63.0674)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23D4 #89D423
analogous
#2330D4 #6E23D4 #C623D4
triadic
#6E23D4 #D46E23 #23D46E
tetradic
#6E23D4 #D42330 #89D423 #23D4C6
square
#6E23D4 #D42330 #89D423 #23D4C6
split-complementary
#6E23D4 #D4C623 #30D423
monochromatic
#37126B #531A9F #6E23D4 #8F52E2 #B186EB

Accessibility & contrast

On white

7.36
#6E23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6E23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23D4
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23D4#FFFFFF#000000##FFFFFF
##6E23D41.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#4E597F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e23d4;
/* rgb */ color: rgb(110, 35, 212);
/* oklch */ color: oklch(48.3% 0.240 294.3);
Tailwind
colors: {
  custom: {
    50: '#a26ae3',
    500: '#6e23d4',
    950: '#000000',
  },
}
SCSS
$custom: #6e23d4;
$custom-light: #a26ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23d4",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 265.424,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.24004,
    "h": 294.3
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#6E23D4
secondary
#B0D47E
accent
#EE39A2
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6E23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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