#6A23A3#6A23A3

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

Color values

HEX#6A23A3
RGBrgb(106, 35, 163)
HSLhsl(273, 65%, 39%)
HSVhsv(273, 79%, 64%)
CMYKcmyk(35%, 78.5%, 0%, 36.1%)
CIE-LABlab(31.60, 53.45, -55.30)
CIE-LCHlch(31.60, 76.91, 314.02°)
OKLaboklab(43.46% 0.1084 -0.1576)
OKLCHoklch(43.46% 0.191 304.5)
XYZxyz(13.1542, 6.9106, 35.2841)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23A3 #5CA323
analogous
#2A23A3 #6A23A3 #A3239C
triadic
#6A23A3 #A36A23 #23A36A
tetradic
#6A23A3 #A32A23 #5CA323 #239CA3
square
#6A23A3 #A32A23 #5CA323 #239CA3
split-complementary
#6A23A3 #9CA323 #23A32A
monochromatic
#280D3E #491871 #6A23A3 #8A31D3 #A763DD

Accessibility & contrast

On white

8.82
#6A23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6A23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23A3
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23A3#FFFFFF#000000##FFFFFF
##6A23A31.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#5F4463
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a23a3;
/* rgb */ color: rgb(106, 35, 163);
/* oklch */ color: oklch(43.5% 0.191 304.5);
Tailwind
colors: {
  custom: {
    50: '#9a66bf',
    500: '#6a23a3',
    950: '#000000',
  },
}
SCSS
$custom: #6a23a3;
$custom-light: #9a66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23a3",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 273.281,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43462,
    "c": 0.19126,
    "h": 304.5
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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