#6A23BA#6A23BA

#6A23BA is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.5% C 0.214 H 298.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6A23BA
RGBrgb(106, 35, 186)
HSLhsl(268, 68%, 43%)
HSVhsv(268, 81%, 73%)
CMYKcmyk(43%, 81.2%, 0%, 27.1%)
CIE-LABlab(33.59, 58.88, -65.81)
CIE-LCHlch(33.59, 88.30, 311.82°)
OKLaboklab(45.45% 0.1017 -0.1884)
OKLCHoklch(45.45% 0.214 298.4)
XYZxyz(15.4055, 7.8111, 47.1409)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23BA #73BA23
analogous
#2327BA #6A23BA #B523BA
triadic
#6A23BA #BA6A23 #23BA6A
tetradic
#6A23BA #BA2327 #73BA23 #23BAB5
square
#6A23BA #BA2327 #73BA23 #23BAB5
split-complementary
#6A23BA #BAB523 #27BA23
monochromatic
#2F1053 #4D1986 #6A23BA #883FDB #A873E5

Accessibility & contrast

On white

8.20
#6A23BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6A23BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23BA
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23BA#FFFFFF#000000##FFFFFF
##6A23BA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#554E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a23ba;
/* rgb */ color: rgb(106, 35, 186);
/* oklch */ color: oklch(45.5% 0.214 298.4);
Tailwind
colors: {
  custom: {
    50: '#9d68d0',
    500: '#6a23ba',
    950: '#000000',
  },
}
SCSS
$custom: #6a23ba;
$custom-light: #9d68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23ba",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 186
  },
  "hsl": {
    "h": 268.212,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45454,
    "c": 0.21412,
    "h": 298.4
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#6A23BA
secondary
#9FCC6D
accent
#EB3D99
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A23BA

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

Preview Lab → · Contrast checker → · Palette generator →

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