#6A23A8#6A23A8

#6A23A8 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.196 H 303.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6A23A8
RGBrgb(106, 35, 168)
HSLhsl(272, 66%, 40%)
HSVhsv(272, 79%, 66%)
CMYKcmyk(36.9%, 79.2%, 0%, 34.1%)
CIE-LABlab(32.02, 54.61, -57.64)
CIE-LCHlch(32.02, 79.40, 313.46°)
OKLaboklab(43.88% 0.1071 -0.1645)
OKLCHoklch(43.88% 0.196 303.1)
XYZxyz(13.6111, 7.0934, 37.6903)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23A8 #61A823
analogous
#2823A8 #6A23A8 #A823A4
triadic
#6A23A8 #A86A23 #23A86A
tetradic
#6A23A8 #A82823 #61A823 #23A4A8
square
#6A23A8 #A82823 #61A823 #23A4A8
split-complementary
#6A23A8 #A4A823 #23A828
monochromatic
#2A0E43 #4A1875 #6A23A8 #8A34D5 #A766DF

Accessibility & contrast

On white

8.68
#6A23A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6A23A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23A8
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23A8#FFFFFF#000000##FFFFFF
##6A23A81.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#5D4765
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a23a8;
/* rgb */ color: rgb(106, 35, 168);
/* oklch */ color: oklch(43.9% 0.196 303.1);
Tailwind
colors: {
  custom: {
    50: '#9b67c3',
    500: '#6a23a8',
    950: '#000000',
  },
}
SCSS
$custom: #6a23a8;
$custom-light: #9b67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23a8",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 272.03,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43881,
    "c": 0.19623,
    "h": 303.1
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#6A23A8
secondary
#90C562
accent
#E83F8E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A23A8

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

Preview Lab → · Contrast checker → · Palette generator →

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