#6E23B0#6E23B0

#6E23B0 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.205 H 302.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6E23B0
RGBrgb(110, 35, 176)
HSLhsl(272, 67%, 41%)
HSVhsv(272, 80%, 69%)
CMYKcmyk(37.5%, 80.1%, 0%, 31%)
CIE-LABlab(33.25, 57.13, -60.40)
CIE-LCHlch(33.25, 83.14, 313.40°)
OKLaboklab(45.06% 0.1107 -0.1724)
OKLCHoklch(45.06% 0.205 302.7)
XYZxyz(14.8660, 7.6516, 41.7596)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23B0 #65B023
analogous
#2823B0 #6E23B0 #B023AC
triadic
#6E23B0 #B06E23 #23B06E
tetradic
#6E23B0 #B02823 #65B023 #23ACB0
square
#6E23B0 #B02823 #65B023 #23ACB0
split-complementary
#6E23B0 #ACB023 #23B028
monochromatic
#2E0F4A #4E197D #6E23B0 #8D39D8 #AA6CE2

Accessibility & contrast

On white

8.30
#6E23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6E23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23B0
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23B0#FFFFFF#000000##FFFFFF
##6E23B01.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#60496A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e23b0;
/* rgb */ color: rgb(110, 35, 176);
/* oklch */ color: oklch(45.1% 0.205 302.7);
Tailwind
colors: {
  custom: {
    50: '#9e68c9',
    500: '#6e23b0',
    950: '#000000',
  },
}
SCSS
$custom: #6e23b0;
$custom-light: #9e68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23b0",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 271.915,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45064,
    "c": 0.20488,
    "h": 302.7
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#6E23B0
secondary
#94C867
accent
#EA3E8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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