#6A23BC#6A23BC

#6A23BC is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.216 H 297.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6A23BC
RGBrgb(106, 35, 188)
HSLhsl(268, 69%, 44%)
HSVhsv(268, 81%, 74%)
CMYKcmyk(43.6%, 81.4%, 0%, 26.3%)
CIE-LABlab(33.77, 59.36, -66.69)
CIE-LCHlch(33.77, 89.28, 311.67°)
OKLaboklab(45.63% 0.1011 -0.191)
OKLCHoklch(45.63% 0.216 297.9)
XYZxyz(15.6196, 7.8968, 48.2685)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23BC #75BC23
analogous
#2328BC #6A23BC #B623BC
triadic
#6A23BC #BC6A23 #23BC6A
tetradic
#6A23BC #BC2328 #75BC23 #23BCB6
square
#6A23BC #BC2328 #75BC23 #23BCB6
split-complementary
#6A23BC #BCB623 #28BC23
monochromatic
#301055 #4D1988 #6A23BC #8941DC #A974E5

Accessibility & contrast

On white

8.14
#6A23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6A23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23BC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23BC#FFFFFF#000000##FFFFFF
##6A23BC1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#554F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a23bc;
/* rgb */ color: rgb(106, 35, 188);
/* oklch */ color: oklch(45.6% 0.216 297.9);
Tailwind
colors: {
  custom: {
    50: '#9d68d1',
    500: '#6a23bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a23bc;
$custom-light: #9d68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23bc",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 267.843,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45634,
    "c": 0.21611,
    "h": 297.9
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#6A23BC
secondary
#A1CC6F
accent
#EB3C9A
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6A23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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