#6C23BD#6C23BD

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

Color values

HEX#6C23BD
RGBrgb(108, 35, 189)
HSLhsl(268, 69%, 44%)
HSVhsv(268, 81%, 74%)
CMYKcmyk(42.9%, 81.5%, 0%, 25.9%)
CIE-LABlab(34.12, 59.88, -66.70)
CIE-LCHlch(34.12, 89.63, 311.91°)
OKLaboklab(45.96% 0.1037 -0.191)
OKLCHoklch(45.96% 0.217 298.5)
XYZxyz(15.9683, 8.0641, 48.8495)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C23BD #74BD23
analogous
#2327BD #6C23BD #B923BD
triadic
#6C23BD #BD6C23 #23BD6C
tetradic
#6C23BD #BD2327 #74BD23 #23BDB9
square
#6C23BD #BD2327 #74BD23 #23BDB9
split-complementary
#6C23BD #BDB923 #27BD23
monochromatic
#311056 #4E1989 #6C23BD #8B41DC #AA75E5

Accessibility & contrast

On white

8.04
#6C23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6C23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C23BD
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C23BD#FFFFFF#000000##FFFFFF
##6C23BD1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#574F72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6c23bd;
/* rgb */ color: rgb(108, 35, 189);
/* oklch */ color: oklch(46.0% 0.217 298.5);
Tailwind
colors: {
  custom: {
    50: '#9e68d2',
    500: '#6c23bd',
    950: '#000000',
  },
}
SCSS
$custom: #6c23bd;
$custom-light: #9e68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c23bd",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 268.442,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45959,
    "c": 0.21734,
    "h": 298.5
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#6C23BD
secondary
#A0CD6F
accent
#EC3C98
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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