#6F23AC#6F23AC

#6F23AC is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.201 H 304.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6F23AC
RGBrgb(111, 35, 172)
HSLhsl(273, 66%, 41%)
HSVhsv(273, 80%, 67%)
CMYKcmyk(35.5%, 79.7%, 0%, 32.5%)
CIE-LABlab(33.05, 56.36, -58.33)
CIE-LCHlch(33.05, 81.11, 314.02°)
OKLaboklab(44.85% 0.1132 -0.1663)
OKLCHoklch(44.85% 0.201 304.2)
XYZxyz(14.6012, 7.5602, 39.7118)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23AC #60AC23
analogous
#2B23AC #6F23AC #AC23A4
triadic
#6F23AC #AC6F23 #23AC6F
tetradic
#6F23AC #AC2B23 #60AC23 #23A4AC
square
#6F23AC #AC2B23 #60AC23 #23A4AC
split-complementary
#6F23AC #A4AC23 #23AC2B
monochromatic
#2D0E46 #4E1979 #6F23AC #8F36D6 #AB69E0

Accessibility & contrast

On white

8.36
#6F23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6F23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23AC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23AC#FFFFFF#000000##FFFFFF
##6F23AC1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#634868
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f23ac;
/* rgb */ color: rgb(111, 35, 172);
/* oklch */ color: oklch(44.9% 0.201 304.2);
Tailwind
colors: {
  custom: {
    50: '#9e68c6',
    500: '#6f23ac',
    950: '#000000',
  },
}
SCSS
$custom: #6f23ac;
$custom-light: #9e68c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23ac",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 273.285,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44853,
    "c": 0.20118,
    "h": 304.2
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#6F23AC
secondary
#90C664
accent
#E93F8B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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