#6A23A4#6A23A4

#6A23A4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.192 H 304.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6A23A4
RGBrgb(106, 35, 164)
HSLhsl(273, 65%, 39%)
HSVhsv(273, 79%, 64%)
CMYKcmyk(35.4%, 78.7%, 0%, 35.7%)
CIE-LABlab(31.68, 53.68, -55.77)
CIE-LCHlch(31.68, 77.41, 313.91°)
OKLaboklab(43.55% 0.1081 -0.159)
OKLCHoklch(43.55% 0.192 304.2)
XYZxyz(13.2442, 6.9466, 35.7579)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23A4 #5DA423
analogous
#2923A4 #6A23A4 #A4239E
triadic
#6A23A4 #A46A23 #23A46A
tetradic
#6A23A4 #A42923 #5DA423 #239EA4
square
#6A23A4 #A42923 #5DA423 #239EA4
split-complementary
#6A23A4 #9EA423 #23A429
monochromatic
#290D3F #491872 #6A23A4 #8A31D3 #A764DE

Accessibility & contrast

On white

8.79
#6A23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6A23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23A4
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23A4#FFFFFF#000000##FFFFFF
##6A23A41.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#5F4563
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a23a4;
/* rgb */ color: rgb(106, 35, 164);
/* oklch */ color: oklch(43.5% 0.192 304.2);
Tailwind
colors: {
  custom: {
    50: '#9a67c0',
    500: '#6a23a4',
    950: '#000000',
  },
}
SCSS
$custom: #6a23a4;
$custom-light: #9a67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23a4",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 273.023,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43545,
    "c": 0.19225,
    "h": 304.2
  },
  "luminance": 0.06947
}

Semantic roles & 50–950 ramp

primary
#6A23A4
secondary
#8CC360
accent
#E8408B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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