#6A23AF#6A23AF

#6A23AF is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.5% C 0.203 H 301.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6A23AF
RGBrgb(106, 35, 175)
HSLhsl(270, 67%, 41%)
HSVhsv(270, 80%, 69%)
CMYKcmyk(39.4%, 80%, 0%, 31.4%)
CIE-LABlab(32.62, 56.26, -60.86)
CIE-LCHlch(32.62, 82.88, 312.75°)
OKLaboklab(44.48% 0.1051 -0.1739)
OKLCHoklch(44.48% 0.203 301.1)
XYZxyz(14.2808, 7.3613, 41.2176)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23AF #68AF23
analogous
#2423AF #6A23AF #AF23AE
triadic
#6A23AF #AF6A23 #23AF6A
tetradic
#6A23AF #AF2423 #68AF23 #23AEAF
square
#6A23AF #AF2423 #68AF23 #23AEAF
split-complementary
#6A23AF #AEAF23 #23AF24
monochromatic
#2C0F49 #4B197C #6A23AF #8938D7 #A76BE1

Accessibility & contrast

On white

8.49
#6A23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23AF
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23AF#FFFFFF#000000##FFFFFF
##6A23AF1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#5A4A69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a23af;
/* rgb */ color: rgb(106, 35, 175);
/* oklch */ color: oklch(44.5% 0.203 301.1);
Tailwind
colors: {
  custom: {
    50: '#9b67c8',
    500: '#6a23af',
    950: '#000000',
  },
}
SCSS
$custom: #6a23af;
$custom-light: #9b67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23af",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 270.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44482,
    "c": 0.20319,
    "h": 301.1
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#6A23AF
secondary
#96C766
accent
#EA3E93
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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