#6B23B0#6B23B0

#6B23B0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.204 H 301.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6B23B0
RGBrgb(107, 35, 176)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 80%, 69%)
CMYKcmyk(39.2%, 80.1%, 0%, 31%)
CIE-LABlab(32.84, 56.65, -61.09)
CIE-LCHlch(32.84, 83.31, 312.84°)
OKLaboklab(44.69% 0.1063 -0.1745)
OKLCHoklch(44.69% 0.204 301.3)
XYZxyz(14.4990, 7.4624, 41.7424)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23B0 #68B023
analogous
#2423B0 #6B23B0 #B023AF
triadic
#6B23B0 #B06B23 #23B06B
tetradic
#6B23B0 #B02423 #68B023 #23AFB0
square
#6B23B0 #B02423 #68B023 #23AFB0
split-complementary
#6B23B0 #AFB023 #23B024
monochromatic
#2D0F4A #4C197D #6B23B0 #8A39D8 #A86CE2

Accessibility & contrast

On white

8.43
#6B23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6B23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23B0
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23B0#FFFFFF#000000##FFFFFF
##6B23B01.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#5B4A6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b23b0;
/* rgb */ color: rgb(107, 35, 176);
/* oklch */ color: oklch(44.7% 0.204 301.3);
Tailwind
colors: {
  custom: {
    50: '#9c67c9',
    500: '#6b23b0',
    950: '#000000',
  },
}
SCSS
$custom: #6b23b0;
$custom-light: #9c67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23b0",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 270.638,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.20435,
    "h": 301.3
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#6B23B0
secondary
#96C867
accent
#EA3E92
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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