#6D23A3#6D23A3

#6D23A3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.192 H 305.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6D23A3
RGBrgb(109, 35, 163)
HSLhsl(275, 65%, 39%)
HSVhsv(275, 79%, 64%)
CMYKcmyk(33.1%, 78.5%, 0%, 36.1%)
CIE-LABlab(32.03, 53.97, -54.59)
CIE-LCHlch(32.03, 76.76, 314.67°)
OKLaboklab(43.85% 0.1127 -0.1554)
OKLCHoklch(43.85% 0.192 305.9)
XYZxyz(13.5171, 7.0977, 35.3011)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D23A3 #59A323
analogous
#2D23A3 #6D23A3 #A32399
triadic
#6D23A3 #A36D23 #23A36D
tetradic
#6D23A3 #A32D23 #59A323 #2399A3
square
#6D23A3 #A32D23 #59A323 #2399A3
split-complementary
#6D23A3 #99A323 #23A32D
monochromatic
#2A0D3E #4B1871 #6D23A3 #8E31D3 #AA63DD

Accessibility & contrast

On white

8.68
#6D23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6D23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D23A3
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D23A3#FFFFFF#000000##FFFFFF
##6D23A31.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#634463
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d23a3;
/* rgb */ color: rgb(109, 35, 163);
/* oklch */ color: oklch(43.9% 0.192 305.9);
Tailwind
colors: {
  custom: {
    50: '#9c67bf',
    500: '#6d23a3',
    950: '#000000',
  },
}
SCSS
$custom: #6d23a3;
$custom-light: #9c67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d23a3",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 274.688,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4385,
    "c": 0.19194,
    "h": 305.9
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#6D23A3
secondary
#89C35F
accent
#E84087
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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