#6A23B0#6A23B0

#6A23B0 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.204 H 300.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6A23B0
RGBrgb(106, 35, 176)
HSLhsl(270, 67%, 41%)
HSVhsv(270, 80%, 69%)
CMYKcmyk(39.8%, 80.1%, 0%, 31%)
CIE-LABlab(32.70, 56.50, -61.31)
CIE-LCHlch(32.70, 83.38, 312.66°)
OKLaboklab(44.57% 0.1048 -0.1752)
OKLCHoklch(44.57% 0.204 300.9)
XYZxyz(14.3794, 7.4007, 41.7368)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23B0 #69B023
analogous
#2423B0 #6A23B0 #B023B0
triadic
#6A23B0 #B06A23 #23B06A
tetradic
#6A23B0 #B02423 #69B023 #23B0B0
square
#6A23B0 #B02423 #69B023 #23B0B0
split-complementary
#6A23B0 #B0B023 #23B024
monochromatic
#2D0F4A #4B197D #6A23B0 #8939D8 #A76CE2

Accessibility & contrast

On white

8.47
#6A23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6A23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23B0
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23B0#FFFFFF#000000##FFFFFF
##6A23B01.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#5A4A6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a23b0;
/* rgb */ color: rgb(106, 35, 176);
/* oklch */ color: oklch(44.6% 0.204 300.9);
Tailwind
colors: {
  custom: {
    50: '#9b67c9',
    500: '#6a23b0',
    950: '#000000',
  },
}
SCSS
$custom: #6a23b0;
$custom-light: #9b67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23b0",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 270.213,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44569,
    "c": 0.20419,
    "h": 300.9
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#6A23B0
secondary
#97C867
accent
#EA3E93
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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