#6D23AF#6D23AF

#6D23AF is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.9% C 0.204 H 302.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6D23AF
RGBrgb(109, 35, 175)
HSLhsl(272, 67%, 41%)
HSVhsv(272, 80%, 69%)
CMYKcmyk(37.7%, 80%, 0%, 31.4%)
CIE-LABlab(33.02, 56.73, -60.17)
CIE-LCHlch(33.02, 82.70, 313.31°)
OKLaboklab(44.85% 0.1095 -0.1718)
OKLCHoklch(44.85% 0.204 302.5)
XYZxyz(14.6437, 7.5484, 41.2346)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D23AF #65AF23
analogous
#2723AF #6D23AF #AF23AB
triadic
#6D23AF #AF6D23 #23AF6D
tetradic
#6D23AF #AF2723 #65AF23 #23ABAF
square
#6D23AF #AF2723 #65AF23 #23ABAF
split-complementary
#6D23AF #ABAF23 #23AF27
monochromatic
#2D0F49 #4D197C #6D23AF #8C38D7 #AA6BE1

Accessibility & contrast

On white

8.37
#6D23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6D23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D23AF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D23AF#FFFFFF#000000##FFFFFF
##6D23AF1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#5F4969
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d23af;
/* rgb */ color: rgb(109, 35, 175);
/* oklch */ color: oklch(44.9% 0.204 302.5);
Tailwind
colors: {
  custom: {
    50: '#9d67c8',
    500: '#6d23af',
    950: '#000000',
  },
}
SCSS
$custom: #6d23af;
$custom-light: #9d67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d23af",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 271.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.20372,
    "h": 302.5
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#6D23AF
secondary
#94C766
accent
#EA3E8F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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