#6B23AA#6B23AA

#6B23AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.2% C 0.198 H 303.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6B23AA
RGBrgb(107, 35, 170)
HSLhsl(272, 66%, 40%)
HSVhsv(272, 79%, 67%)
CMYKcmyk(37.1%, 79.4%, 0%, 33.3%)
CIE-LABlab(32.33, 55.25, -58.33)
CIE-LCHlch(32.33, 80.34, 313.44°)
OKLaboklab(44.18% 0.108 -0.1665)
OKLCHoklch(44.18% 0.198 303)
XYZxyz(13.9184, 7.2301, 38.6847)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23AA #62AA23
analogous
#2723AA #6B23AA #AA23A6
triadic
#6B23AA #AA6B23 #23AA6B
tetradic
#6B23AA #AA2723 #62AA23 #23A6AA
square
#6B23AA #AA2723 #62AA23 #23A6AA
split-complementary
#6B23AA #A6AA23 #23AA27
monochromatic
#2B0E44 #4B1977 #6B23AA #8A35D5 #A868E0

Accessibility & contrast

On white

8.59
#6B23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6B23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23AA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23AA#FFFFFF#000000##FFFFFF
##6B23AA1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#5E4767
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b23aa;
/* rgb */ color: rgb(107, 35, 170);
/* oklch */ color: oklch(44.2% 0.198 303.0);
Tailwind
colors: {
  custom: {
    50: '#9c67c4',
    500: '#6b23aa',
    950: '#000000',
  },
}
SCSS
$custom: #6b23aa;
$custom-light: #9c67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23aa",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 272,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.19841,
    "h": 303
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#6B23AA
secondary
#91C663
accent
#E93F8E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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