#6C23D4#6C23D4

#6C23D4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 48.1% C 0.240 H 293.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6C23D4
RGBrgb(108, 35, 212)
HSLhsl(265, 72%, 48%)
HSVhsv(265, 83%, 83%)
CMYKcmyk(49.1%, 83.5%, 0%, 16.9%)
CIE-LABlab(36.26, 65.38, -76.61)
CIE-LCHlch(36.26, 100.71, 310.48°)
OKLaboklab(48.08% 0.0958 -0.22)
OKLCHoklch(48.08% 0.24 293.5)
XYZxyz(18.6657, 9.1430, 63.0559)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C23D4 #8BD423
analogous
#2332D4 #6C23D4 #C423D4
triadic
#6C23D4 #D46C23 #23D46C
tetradic
#6C23D4 #D42332 #8BD423 #23D4C4
square
#6C23D4 #D42332 #8BD423 #23D4C4
split-complementary
#6C23D4 #D4C423 #32D423
monochromatic
#36126B #511A9F #6C23D4 #8D52E2 #B086EB

Accessibility & contrast

On white

7.42
#6C23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6C23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C23D4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C23D4#FFFFFF#000000##FFFFFF
##6C23D41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#0052D1
Tritanopia (blue-blind)
#4A597F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c23d4;
/* rgb */ color: rgb(108, 35, 212);
/* oklch */ color: oklch(48.1% 0.240 293.5);
Tailwind
colors: {
  custom: {
    50: '#a16ae3',
    500: '#6c23d4',
    950: '#000000',
  },
}
SCSS
$custom: #6c23d4;
$custom-light: #a16ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c23d4",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 264.746,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.23994,
    "h": 293.5
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#6C23D4
secondary
#B1D47E
accent
#EE39A4
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6C23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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