#6F23AA#6F23AA

#6F23AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.199 H 304.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6F23AA
RGBrgb(111, 35, 170)
HSLhsl(274, 66%, 40%)
HSVhsv(274, 79%, 67%)
CMYKcmyk(34.7%, 79.4%, 0%, 33.3%)
CIE-LABlab(32.88, 55.91, -57.40)
CIE-LCHlch(32.88, 80.13, 314.25°)
OKLaboklab(44.69% 0.1138 -0.1636)
OKLCHoklch(44.69% 0.199 304.8)
XYZxyz(14.4106, 7.4839, 38.7078)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23AA #5EAA23
analogous
#2C23AA #6F23AA #AA23A1
triadic
#6F23AA #AA6F23 #23AA6F
tetradic
#6F23AA #AA2C23 #5EAA23 #23A1AA
square
#6F23AA #AA2C23 #5EAA23 #23A1AA
split-complementary
#6F23AA #A1AA23 #23AA2C
monochromatic
#2D0E44 #4E1977 #6F23AA #8F35D5 #AB68E0

Accessibility & contrast

On white

8.41
#6F23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6F23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23AA
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23AA#FFFFFF#000000##FFFFFF
##6F23AA1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#644767
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f23aa;
/* rgb */ color: rgb(111, 35, 170);
/* oklch */ color: oklch(44.7% 0.199 304.8);
Tailwind
colors: {
  custom: {
    50: '#9e67c4',
    500: '#6f23aa',
    950: '#000000',
  },
}
SCSS
$custom: #6f23aa;
$custom-light: #9e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23aa",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 273.778,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44686,
    "c": 0.19924,
    "h": 304.8
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#6F23AA
secondary
#8EC663
accent
#E93F89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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