#6E23B2#6E23B2

#6E23B2 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.207 H 302.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6E23B2
RGBrgb(110, 35, 178)
HSLhsl(271, 67%, 42%)
HSVhsv(271, 80%, 70%)
CMYKcmyk(38.2%, 80.3%, 0%, 30.2%)
CIE-LABlab(33.42, 57.59, -61.32)
CIE-LCHlch(33.42, 84.12, 313.20°)
OKLaboklab(45.24% 0.1101 -0.1751)
OKLCHoklch(45.24% 0.207 302.2)
XYZxyz(15.0654, 7.7314, 42.8094)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E23B2 #67B223
analogous
#2723B2 #6E23B2 #B223AE
triadic
#6E23B2 #B26E23 #23B26E
tetradic
#6E23B2 #B22723 #67B223 #23AEB2
square
#6E23B2 #B22723 #67B223 #23AEB2
split-complementary
#6E23B2 #AEB223 #23B227
monochromatic
#2F0F4C #4E197F #6E23B2 #8D3AD8 #AB6DE2

Accessibility & contrast

On white

8.25
#6E23B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6E23B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E23B2
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E23B2#FFFFFF#000000##FFFFFF
##6E23B21.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#5F4A6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e23b2;
/* rgb */ color: rgb(110, 35, 178);
/* oklch */ color: oklch(45.2% 0.207 302.2);
Tailwind
colors: {
  custom: {
    50: '#9e68ca',
    500: '#6e23b2',
    950: '#000000',
  },
}
SCSS
$custom: #6e23b2;
$custom-light: #9e68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e23b2",
  "rgb": {
    "r": 110,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 271.469,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.20684,
    "h": 302.2
  },
  "luminance": 0.07731
}

Semantic roles & 50–950 ramp

primary
#6E23B2
secondary
#96C968
accent
#EA3E90
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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