#6D23BC#6D23BC

#6D23BC is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.0% C 0.216 H 299.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6D23BC
RGBrgb(109, 35, 188)
HSLhsl(269, 69%, 44%)
HSVhsv(269, 81%, 74%)
CMYKcmyk(42%, 81.4%, 0%, 26.3%)
CIE-LABlab(34.16, 59.78, -66.04)
CIE-LCHlch(34.16, 89.08, 312.15°)
OKLaboklab(45.99% 0.1055 -0.189)
OKLCHoklch(45.99% 0.216 299.2)
XYZxyz(15.9825, 8.0839, 48.2855)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D23BC #72BC23
analogous
#2325BC #6D23BC #B923BC
triadic
#6D23BC #BC6D23 #23BC6D
tetradic
#6D23BC #BC2325 #72BC23 #23BCB9
square
#6D23BC #BC2325 #72BC23 #23BCB9
split-complementary
#6D23BC #BCB923 #25BC23
monochromatic
#311055 #4F1988 #6D23BC #8C41DC #AB74E5

Accessibility & contrast

On white

8.03
#6D23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6D23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D23BC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D23BC#FFFFFF#000000##FFFFFF
##6D23BC1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#594F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d23bc;
/* rgb */ color: rgb(109, 35, 188);
/* oklch */ color: oklch(46.0% 0.216 299.2);
Tailwind
colors: {
  custom: {
    50: '#9f68d1',
    500: '#6d23bc',
    950: '#000000',
  },
}
SCSS
$custom: #6d23bc;
$custom-light: #9f68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d23bc",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 269.02,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45989,
    "c": 0.21648,
    "h": 299.2
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#6D23BC
secondary
#9FCC6F
accent
#EB3C97
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6D23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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