#6B23AE#6B23AE

#6B23AE is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.202 H 301.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6B23AE
RGBrgb(107, 35, 174)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 80%, 68%)
CMYKcmyk(38.5%, 79.9%, 0%, 31.8%)
CIE-LABlab(32.67, 56.18, -60.17)
CIE-LCHlch(32.67, 82.33, 313.04°)
OKLaboklab(44.52% 0.1069 -0.1719)
OKLCHoklch(44.52% 0.202 301.9)
XYZxyz(14.3026, 7.3838, 40.7079)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23AE #66AE23
analogous
#2523AE #6B23AE #AE23AB
triadic
#6B23AE #AE6B23 #23AE6B
tetradic
#6B23AE #AE2523 #66AE23 #23ABAE
square
#6B23AE #AE2523 #66AE23 #23ABAE
split-complementary
#6B23AE #ABAE23 #23AE25
monochromatic
#2C0F48 #4C197B #6B23AE #8A37D7 #A86AE1

Accessibility & contrast

On white

8.48
#6B23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6B23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23AE
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23AE#FFFFFF#000000##FFFFFF
##6B23AE1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#5C4969
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b23ae;
/* rgb */ color: rgb(107, 35, 174);
/* oklch */ color: oklch(44.5% 0.202 301.9);
Tailwind
colors: {
  custom: {
    50: '#9c67c7',
    500: '#6b23ae',
    950: '#000000',
  },
}
SCSS
$custom: #6b23ae;
$custom-light: #9c67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23ae",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 271.079,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44519,
    "c": 0.20238,
    "h": 301.9
  },
  "luminance": 0.07384
}

Semantic roles & 50–950 ramp

primary
#6B23AE
secondary
#95C766
accent
#E93E91
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6B23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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