#6A23BD#6A23BD

#6A23BD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.7% C 0.217 H 297.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6A23BD
RGBrgb(106, 35, 189)
HSLhsl(268, 69%, 44%)
HSVhsv(268, 81%, 74%)
CMYKcmyk(43.9%, 81.5%, 0%, 25.9%)
CIE-LABlab(33.86, 59.60, -67.13)
CIE-LCHlch(33.86, 89.77, 311.60°)
OKLaboklab(45.72% 0.1007 -0.1923)
OKLCHoklch(45.72% 0.217 297.6)
XYZxyz(15.7278, 7.9401, 48.8382)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23BD #76BD23
analogous
#2329BD #6A23BD #B723BD
triadic
#6A23BD #BD6A23 #23BD6A
tetradic
#6A23BD #BD2329 #76BD23 #23BDB7
square
#6A23BD #BD2329 #76BD23 #23BDB7
split-complementary
#6A23BD #BDB723 #29BD23
monochromatic
#301056 #4D1989 #6A23BD #8941DC #A975E5

Accessibility & contrast

On white

8.11
#6A23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6A23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23BD
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23BD#FFFFFF#000000##FFFFFF
##6A23BD1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#545072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a23bd;
/* rgb */ color: rgb(106, 35, 189);
/* oklch */ color: oklch(45.7% 0.217 297.6);
Tailwind
colors: {
  custom: {
    50: '#9d68d2',
    500: '#6a23bd',
    950: '#000000',
  },
}
SCSS
$custom: #6a23bd;
$custom-light: #9d68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23bd",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 267.662,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45724,
    "c": 0.2171,
    "h": 297.6
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#6A23BD
secondary
#A2CD6F
accent
#EC3C9B
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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