#6A23C4#6A23C4

#6A23C4 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.224 H 296.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6A23C4
RGBrgb(106, 35, 196)
HSLhsl(266, 70%, 45%)
HSVhsv(266, 82%, 77%)
CMYKcmyk(45.9%, 82.1%, 0%, 23.1%)
CIE-LABlab(34.50, 61.28, -70.19)
CIE-LCHlch(34.50, 93.18, 311.12°)
OKLaboklab(46.36% 0.0984 -0.2013)
OKLCHoklch(46.36% 0.224 296)
XYZxyz(16.5060, 8.2513, 52.9369)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23C4 #7DC423
analogous
#232CC4 #6A23C4 #BB23C4
triadic
#6A23C4 #C46A23 #23C46A
tetradic
#6A23C4 #C4232C #7DC423 #23C4BB
square
#6A23C4 #C4232C #7DC423 #23C4BB
split-complementary
#6A23C4 #C4BB23 #2CC423
monochromatic
#32105C #4E1A90 #6A23C4 #8946DE #AA7AE7

Accessibility & contrast

On white

7.92
#6A23C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6A23C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23C4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23C4#FFFFFF#000000##FFFFFF
##6A23C41.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#505376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a23c4;
/* rgb */ color: rgb(106, 35, 196);
/* oklch */ color: oklch(46.4% 0.224 296.0);
Tailwind
colors: {
  custom: {
    50: '#9e68d7',
    500: '#6a23c4',
    950: '#000000',
  },
}
SCSS
$custom: #6a23c4;
$custom-light: #9e68d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23c4",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 196
  },
  "hsl": {
    "h": 266.46,
    "s": 69.697,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46364,
    "c": 0.22405,
    "h": 296
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#6A23C4
secondary
#A7CF74
accent
#ED3B9E
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6A23C4

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

Preview Lab → · Contrast checker → · Palette generator →

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