#6F23A4#6F23A4

#6F23A4 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.193 H 306.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6F23A4
RGBrgb(111, 35, 164)
HSLhsl(275, 65%, 39%)
HSVhsv(275, 79%, 64%)
CMYKcmyk(32.3%, 78.7%, 0%, 35.7%)
CIE-LABlab(32.40, 54.55, -54.58)
CIE-LCHlch(32.40, 77.16, 314.98°)
OKLaboklab(44.19% 0.1153 -0.1553)
OKLCHoklch(44.19% 0.193 306.6)
XYZxyz(13.8560, 7.2621, 35.7865)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23A4 #58A423
analogous
#2F23A4 #6F23A4 #A42399
triadic
#6F23A4 #A46F23 #23A46F
tetradic
#6F23A4 #A42F23 #58A423 #2399A4
square
#6F23A4 #A42F23 #58A423 #2399A4
split-complementary
#6F23A4 #99A423 #23A42F
monochromatic
#2B0D3F #4D1872 #6F23A4 #9131D3 #AC64DE

Accessibility & contrast

On white

8.56
#6F23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F23A4
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23A4#FFFFFF#000000##FFFFFF
##6F23A41.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f23a4;
/* rgb */ color: rgb(111, 35, 164);
/* oklch */ color: oklch(44.2% 0.193 306.6);
Tailwind
colors: {
  custom: {
    50: '#9e67c0',
    500: '#6f23a4',
    950: '#000000',
  },
}
SCSS
$custom: #6f23a4;
$custom-light: #9e67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23a4",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 275.349,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44193,
    "c": 0.19341,
    "h": 306.6
  },
  "luminance": 0.07262
}

Semantic roles & 50–950 ramp

primary
#6F23A4
secondary
#89C360
accent
#E84085
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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