#6F23A1#6F23A1

#6F23A1 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.190 H 307.5°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6F23A1
RGBrgb(111, 35, 161)
HSLhsl(276, 64%, 38%)
HSVhsv(276, 78%, 63%)
CMYKcmyk(31.1%, 78.3%, 0%, 36.9%)
CIE-LABlab(32.16, 53.87, -53.16)
CIE-LCHlch(32.16, 75.68, 315.38°)
OKLaboklab(43.95% 0.116 -0.1511)
OKLCHoklch(43.95% 0.19 307.5)
XYZxyz(13.5882, 7.1550, 34.3765)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23A1 #55A123
analogous
#3023A1 #6F23A1 #A12394
triadic
#6F23A1 #A16F23 #23A16F
tetradic
#6F23A1 #A13023 #55A123 #2394A1
square
#6F23A1 #A13023 #55A123 #2394A1
split-complementary
#6F23A1 #94A123 #23A130
monochromatic
#2A0D3C #4C186F #6F23A1 #912FD2 #AC62DD

Accessibility & contrast

On white

8.64
#6F23A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6F23A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23A1
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23A1#FFFFFF#000000##FFFFFF
##6F23A11.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#674361
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f23a1;
/* rgb */ color: rgb(111, 35, 161);
/* oklch */ color: oklch(44.0% 0.190 307.5);
Tailwind
colors: {
  custom: {
    50: '#9d67be',
    500: '#6f23a1',
    950: '#000000',
  },
}
SCSS
$custom: #6f23a1;
$custom-light: #9d67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23a1",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 276.19,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4395,
    "c": 0.19049,
    "h": 307.5
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#6F23A1
secondary
#86C25E
accent
#E74183
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F23A1

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

Preview Lab → · Contrast checker → · Palette generator →

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