#6C23B0#6C23B0

#6C23B0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.205 H 301.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6C23B0
RGBrgb(108, 35, 176)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 80%, 69%)
CMYKcmyk(38.6%, 80.1%, 0%, 31%)
CIE-LABlab(32.97, 56.81, -60.86)
CIE-LCHlch(32.97, 83.26, 313.03°)
OKLaboklab(44.82% 0.1077 -0.1738)
OKLCHoklch(44.82% 0.205 301.8)
XYZxyz(14.6199, 7.5247, 41.7481)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C23B0 #67B023
analogous
#2623B0 #6C23B0 #B023AE
triadic
#6C23B0 #B06C23 #23B06C
tetradic
#6C23B0 #B02623 #67B023 #23AEB0
square
#6C23B0 #B02623 #67B023 #23AEB0
split-complementary
#6C23B0 #AEB023 #23B026
monochromatic
#2D0F4A #4D197D #6C23B0 #8B39D8 #A96CE2

Accessibility & contrast

On white

8.38
#6C23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6C23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C23B0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C23B0#FFFFFF#000000##FFFFFF
##6C23B01.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#5D4A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c23b0;
/* rgb */ color: rgb(108, 35, 176);
/* oklch */ color: oklch(44.8% 0.205 301.8);
Tailwind
colors: {
  custom: {
    50: '#9d67c9',
    500: '#6c23b0',
    950: '#000000',
  },
}
SCSS
$custom: #6c23b0;
$custom-light: #9d67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c23b0",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 271.064,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44815,
    "c": 0.20452,
    "h": 301.8
  },
  "luminance": 0.07525
}

Semantic roles & 50–950 ramp

primary
#6C23B0
secondary
#96C867
accent
#EA3E91
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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