#6F23BC#6F23BC

#6F23BC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.217 H 300.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6F23BC
RGBrgb(111, 35, 188)
HSLhsl(270, 69%, 44%)
HSVhsv(270, 81%, 74%)
CMYKcmyk(41%, 81.4%, 0%, 26.3%)
CIE-LABlab(34.42, 60.07, -65.60)
CIE-LCHlch(34.42, 88.94, 312.48°)
OKLaboklab(46.23% 0.1085 -0.1876)
OKLCHoklch(46.23% 0.217 300)
XYZxyz(16.2314, 8.2122, 48.2972)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23BC #70BC23
analogous
#2323BC #6F23BC #BB23BC
triadic
#6F23BC #BC6F23 #23BC6F
tetradic
#6F23BC #BC2323 #70BC23 #23BCBB
square
#6F23BC #BC2323 #70BC23 #23BCBB
split-complementary
#6F23BC #BCBB23 #23BC23
monochromatic
#321055 #511988 #6F23BC #8E41DC #AC74E5

Accessibility & contrast

On white

7.95
#6F23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6F23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23BC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23BC#FFFFFF#000000##FFFFFF
##6F23BC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#5D4F71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f23bc;
/* rgb */ color: rgb(111, 35, 188);
/* oklch */ color: oklch(46.2% 0.217 300.0);
Tailwind
colors: {
  custom: {
    50: '#a068d1',
    500: '#6f23bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f23bc;
$custom-light: #a068d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23bc",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 269.804,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46229,
    "c": 0.21675,
    "h": 300
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#6F23BC
secondary
#9ECC6F
accent
#EB3C94
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6F23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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