#6F23AE#6F23AE

#6F23AE is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.203 H 303.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6F23AE
RGBrgb(111, 35, 174)
HSLhsl(273, 67%, 41%)
HSVhsv(273, 80%, 68%)
CMYKcmyk(36.2%, 79.9%, 0%, 31.8%)
CIE-LABlab(33.22, 56.82, -59.25)
CIE-LCHlch(33.22, 82.10, 313.80°)
OKLaboklab(45.02% 0.1127 -0.169)
OKLCHoklch(45.02% 0.203 303.7)
XYZxyz(14.7948, 7.6376, 40.7310)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23AE #62AE23
analogous
#2A23AE #6F23AE #AE23A7
triadic
#6F23AE #AE6F23 #23AE6F
tetradic
#6F23AE #AE2A23 #62AE23 #23A7AE
square
#6F23AE #AE2A23 #62AE23 #23A7AE
split-complementary
#6F23AE #A7AE23 #23AE2A
monochromatic
#2E0F48 #4E197B #6F23AE #8F37D7 #AB6AE1

Accessibility & contrast

On white

8.31
#6F23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6F23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23AE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23AE#FFFFFF#000000##FFFFFF
##6F23AE1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#624869
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f23ae;
/* rgb */ color: rgb(111, 35, 174);
/* oklch */ color: oklch(45.0% 0.203 303.7);
Tailwind
colors: {
  custom: {
    50: '#9e68c7',
    500: '#6f23ae',
    950: '#000000',
  },
}
SCSS
$custom: #6f23ae;
$custom-light: #9e68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23ae",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 272.806,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45021,
    "c": 0.20313,
    "h": 303.7
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#6F23AE
secondary
#92C766
accent
#E93E8C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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