#6B23AC#6B23AC

#6B23AC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.200 H 302.4°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6B23AC
RGBrgb(107, 35, 172)
HSLhsl(272, 66%, 41%)
HSVhsv(272, 80%, 67%)
CMYKcmyk(37.8%, 79.7%, 0%, 32.5%)
CIE-LABlab(32.49, 55.71, -59.26)
CIE-LCHlch(32.49, 81.33, 313.24°)
OKLaboklab(44.35% 0.1074 -0.1692)
OKLCHoklch(44.35% 0.2 302.4)
XYZxyz(14.1090, 7.3064, 39.6887)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23AC #64AC23
analogous
#2623AC #6B23AC #AC23A8
triadic
#6B23AC #AC6B23 #23AC6B
tetradic
#6B23AC #AC2623 #64AC23 #23A8AC
square
#6B23AC #AC2623 #64AC23 #23A8AC
split-complementary
#6B23AC #A8AC23 #23AC26
monochromatic
#2C0E46 #4B1979 #6B23AC #8A36D6 #A869E0

Accessibility & contrast

On white

8.53
#6B23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6B23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23AC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23AC#FFFFFF#000000##FFFFFF
##6B23AC1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#5D4868
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b23ac;
/* rgb */ color: rgb(107, 35, 172);
/* oklch */ color: oklch(44.3% 0.200 302.4);
Tailwind
colors: {
  custom: {
    50: '#9c67c6',
    500: '#6b23ac',
    950: '#000000',
  },
}
SCSS
$custom: #6b23ac;
$custom-light: #9c67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23ac",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 271.533,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.20039,
    "h": 302.4
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#6B23AC
secondary
#93C664
accent
#E93F90
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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