#6C23A2#6C23A2

#6C23A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.191 H 305.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6C23A2
RGBrgb(108, 35, 162)
HSLhsl(274, 64%, 39%)
HSVhsv(274, 78%, 64%)
CMYKcmyk(33.3%, 78.4%, 0%, 36.5%)
CIE-LABlab(31.80, 53.56, -54.35)
CIE-LCHlch(31.80, 76.31, 314.58°)
OKLaboklab(43.64% 0.1115 -0.1547)
OKLCHoklch(43.64% 0.191 305.8)
XYZxyz(13.3055, 6.9990, 34.8254)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C23A2 #59A223
analogous
#2C23A2 #6C23A2 #A22398
triadic
#6C23A2 #A26C23 #23A26C
tetradic
#6C23A2 #A22C23 #59A223 #2398A2
square
#6C23A2 #A22C23 #59A223 #2398A2
split-complementary
#6C23A2 #98A223 #23A22C
monochromatic
#290D3D #4A1870 #6C23A2 #8D30D2 #A962DD

Accessibility & contrast

On white

8.75
#6C23A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C23A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C23A2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C23A2#FFFFFF#000000##FFFFFF
##6C23A21.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#624462
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6c23a2;
/* rgb */ color: rgb(108, 35, 162);
/* oklch */ color: oklch(43.6% 0.191 305.8);
Tailwind
colors: {
  custom: {
    50: '#9b67be',
    500: '#6c23a2',
    950: '#000000',
  },
}
SCSS
$custom: #6c23a2;
$custom-light: #9b67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c23a2",
  "rgb": {
    "r": 108,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 274.488,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.19073,
    "h": 305.8
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#6C23A2
secondary
#89C25E
accent
#E74087
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C23A2

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

Preview Lab → · Contrast checker → · Palette generator →

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