#6F23A3#6F23A3

#6F23A3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.192 H 306.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6F23A3
RGBrgb(111, 35, 163)
HSLhsl(276, 65%, 39%)
HSVhsv(276, 79%, 64%)
CMYKcmyk(31.9%, 78.5%, 0%, 36.1%)
CIE-LABlab(32.32, 54.32, -54.11)
CIE-LCHlch(32.32, 76.67, 315.11°)
OKLaboklab(44.11% 0.1155 -0.1539)
OKLCHoklch(44.11% 0.192 306.9)
XYZxyz(13.7660, 7.2261, 35.3128)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23A3 #57A323
analogous
#2F23A3 #6F23A3 #A32397
triadic
#6F23A3 #A36F23 #23A36F
tetradic
#6F23A3 #A32F23 #57A323 #2397A3
square
#6F23A3 #A32F23 #57A323 #2397A3
split-complementary
#6F23A3 #97A323 #23A32F
monochromatic
#2A0D3E #4D1871 #6F23A3 #9131D3 #AC63DD

Accessibility & contrast

On white

8.59
#6F23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6F23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23A3
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23A3#FFFFFF#000000##FFFFFF
##6F23A31.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#664463
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f23a3;
/* rgb */ color: rgb(111, 35, 163);
/* oklch */ color: oklch(44.1% 0.192 306.9);
Tailwind
colors: {
  custom: {
    50: '#9e67bf',
    500: '#6f23a3',
    950: '#000000',
  },
}
SCSS
$custom: #6f23a3;
$custom-light: #9e67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23a3",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 275.625,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.19243,
    "h": 306.9
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#6F23A3
secondary
#88C35F
accent
#E84084
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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