#6B23C4#6B23C4

#6B23C4 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.5% C 0.224 H 296.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6B23C4
RGBrgb(107, 35, 196)
HSLhsl(267, 70%, 45%)
HSVhsv(267, 82%, 77%)
CMYKcmyk(45.4%, 82.1%, 0%, 23.1%)
CIE-LABlab(34.63, 61.41, -69.98)
CIE-LCHlch(34.63, 93.11, 311.27°)
OKLaboklab(46.48% 0.0999 -0.2006)
OKLCHoklch(46.48% 0.224 296.5)
XYZxyz(16.6256, 8.3130, 52.9425)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23C4 #7CC423
analogous
#232CC4 #6B23C4 #BB23C4
triadic
#6B23C4 #C46B23 #23C46B
tetradic
#6B23C4 #C4232C #7CC423 #23C4BB
square
#6B23C4 #C4232C #7CC423 #23C4BB
split-complementary
#6B23C4 #C4BB23 #2CC423
monochromatic
#32105C #4F1A90 #6B23C4 #8A46DE #AB7AE7

Accessibility & contrast

On white

7.89
#6B23C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6B23C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23C4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23C4#FFFFFF#000000##FFFFFF
##6B23C41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#525376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b23c4;
/* rgb */ color: rgb(107, 35, 196);
/* oklch */ color: oklch(46.5% 0.224 296.5);
Tailwind
colors: {
  custom: {
    50: '#9e68d7',
    500: '#6b23c4',
    950: '#000000',
  },
}
SCSS
$custom: #6b23c4;
$custom-light: #9e68d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23c4",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 196
  },
  "hsl": {
    "h": 266.832,
    "s": 69.697,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.22413,
    "h": 296.5
  },
  "luminance": 0.08313
}

Semantic roles & 50–950 ramp

primary
#6B23C4
secondary
#A6CF74
accent
#ED3B9D
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6B23C4

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

Preview Lab → · Contrast checker → · Palette generator →

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