#6A23A7#6A23A7

#6A23A7 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.195 H 303.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6A23A7
RGBrgb(106, 35, 167)
HSLhsl(272, 65%, 40%)
HSVhsv(272, 79%, 65%)
CMYKcmyk(36.5%, 79%, 0%, 34.5%)
CIE-LABlab(31.93, 54.38, -57.17)
CIE-LCHlch(31.93, 78.90, 313.57°)
OKLaboklab(43.8% 0.1073 -0.1631)
OKLCHoklch(43.8% 0.195 303.3)
XYZxyz(13.5183, 7.0563, 37.2015)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23A7 #60A723
analogous
#2823A7 #6A23A7 #A723A2
triadic
#6A23A7 #A76A23 #23A76A
tetradic
#6A23A7 #A72823 #60A723 #23A2A7
square
#6A23A7 #A72823 #60A723 #23A2A7
split-complementary
#6A23A7 #A2A723 #23A728
monochromatic
#2A0E42 #4A1874 #6A23A7 #8A33D4 #A766DF

Accessibility & contrast

On white

8.71
#6A23A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6A23A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23A7
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23A7#FFFFFF#000000##FFFFFF
##6A23A71.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#5D4665
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a23a7;
/* rgb */ color: rgb(106, 35, 167);
/* oklch */ color: oklch(43.8% 0.195 303.3);
Tailwind
colors: {
  custom: {
    50: '#9b67c2',
    500: '#6a23a7',
    950: '#000000',
  },
}
SCSS
$custom: #6a23a7;
$custom-light: #9b67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23a7",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 272.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43797,
    "c": 0.19524,
    "h": 303.3
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#6A23A7
secondary
#8FC461
accent
#E83F8E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6A23A7

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

Preview Lab → · Contrast checker → · Palette generator →

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