#6B23A4#6B23A4

#6B23A4 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.7% C 0.192 H 304.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6B23A4
RGBrgb(107, 35, 164)
HSLhsl(273, 65%, 39%)
HSVhsv(273, 79%, 64%)
CMYKcmyk(34.8%, 78.7%, 0%, 35.7%)
CIE-LABlab(31.83, 53.85, -55.53)
CIE-LCHlch(31.83, 77.36, 314.12°)
OKLaboklab(43.67% 0.1096 -0.1582)
OKLCHoklch(43.67% 0.192 304.7)
XYZxyz(13.3637, 7.0083, 35.7635)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23A4 #5CA423
analogous
#2A23A4 #6B23A4 #A4239D
triadic
#6B23A4 #A46B23 #23A46B
tetradic
#6B23A4 #A42A23 #5CA423 #239DA4
square
#6B23A4 #A42A23 #5CA423 #239DA4
split-complementary
#6B23A4 #9DA423 #23A42A
monochromatic
#290D3F #4A1872 #6B23A4 #8C31D3 #A864DE

Accessibility & contrast

On white

8.74
#6B23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6B23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23A4
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23A4#FFFFFF#000000##FFFFFF
##6B23A41.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#604563
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b23a4;
/* rgb */ color: rgb(107, 35, 164);
/* oklch */ color: oklch(43.7% 0.192 304.7);
Tailwind
colors: {
  custom: {
    50: '#9b67c0',
    500: '#6b23a4',
    950: '#000000',
  },
}
SCSS
$custom: #6b23a4;
$custom-light: #9b67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23a4",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 273.488,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43673,
    "c": 0.19247,
    "h": 304.7
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#6B23A4
secondary
#8CC360
accent
#E8408A
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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