#6D23BE#6D23BE

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

Color values

HEX#6D23BE
RGBrgb(109, 35, 190)
HSLhsl(269, 69%, 44%)
HSVhsv(269, 82%, 75%)
CMYKcmyk(42.6%, 81.6%, 0%, 25.5%)
CIE-LABlab(34.34, 60.26, -66.92)
CIE-LCHlch(34.34, 90.05, 312.00°)
OKLaboklab(46.17% 0.1049 -0.1916)
OKLCHoklch(46.17% 0.218 298.7)
XYZxyz(16.1996, 8.1707, 49.4288)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D23BE #74BE23
analogous
#2327BE #6D23BE #BB23BE
triadic
#6D23BE #BE6D23 #23BE6D
tetradic
#6D23BE #BE2327 #74BE23 #23BEBB
square
#6D23BE #BE2327 #74BE23 #23BEBB
split-complementary
#6D23BE #BEBB23 #27BE23
monochromatic
#321057 #4F198A #6D23BE #8C42DC #AB76E6

Accessibility & contrast

On white

7.97
#6D23BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6D23BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D23BE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D23BE#FFFFFF#000000##FFFFFF
##6D23BE1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C2
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#585072
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6d23be;
/* rgb */ color: rgb(109, 35, 190);
/* oklch */ color: oklch(46.2% 0.218 298.7);
Tailwind
colors: {
  custom: {
    50: '#9f68d3',
    500: '#6d23be',
    950: '#000000',
  },
}
SCSS
$custom: #6d23be;
$custom-light: #9f68d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d23be",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 190
  },
  "hsl": {
    "h": 268.645,
    "s": 68.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46167,
    "c": 0.21844,
    "h": 298.7
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#6D23BE
secondary
#A1CD70
accent
#EC3C98
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6D23BE

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

Preview Lab → · Contrast checker → · Palette generator →

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