#6D23A4#6D23A4

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

Color values

HEX#6D23A4
RGBrgb(109, 35, 164)
HSLhsl(274, 65%, 39%)
HSVhsv(274, 79%, 64%)
CMYKcmyk(33.5%, 78.7%, 0%, 35.7%)
CIE-LABlab(32.11, 54.20, -55.06)
CIE-LCHlch(32.11, 77.26, 314.55°)
OKLaboklab(43.93% 0.1124 -0.1568)
OKLCHoklch(43.93% 0.193 305.6)
XYZxyz(13.6070, 7.1337, 35.7749)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D23A4 #5AA423
analogous
#2D23A4 #6D23A4 #A4239B
triadic
#6D23A4 #A46D23 #23A46D
tetradic
#6D23A4 #A42D23 #5AA423 #239BA4
square
#6D23A4 #A42D23 #5AA423 #239BA4
split-complementary
#6D23A4 #9BA423 #23A42D
monochromatic
#2A0D3F #4B1872 #6D23A4 #8E31D3 #AA64DE

Accessibility & contrast

On white

8.65
#6D23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6D23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D23A4
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D23A4#FFFFFF#000000##FFFFFF
##6D23A41.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#634463
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d23a4;
/* rgb */ color: rgb(109, 35, 164);
/* oklch */ color: oklch(43.9% 0.193 305.6);
Tailwind
colors: {
  custom: {
    50: '#9c67c0',
    500: '#6d23a4',
    950: '#000000',
  },
}
SCSS
$custom: #6d23a4;
$custom-light: #9c67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d23a4",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 274.419,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.19293,
    "h": 305.6
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#6D23A4
secondary
#8AC360
accent
#E84088
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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