#6B23BC#6B23BC

#6B23BC is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.216 H 298.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6B23BC
RGBrgb(107, 35, 188)
HSLhsl(268, 69%, 44%)
HSVhsv(268, 81%, 74%)
CMYKcmyk(43.1%, 81.4%, 0%, 26.3%)
CIE-LABlab(33.90, 59.50, -66.48)
CIE-LCHlch(33.90, 89.21, 311.83°)
OKLaboklab(45.75% 0.1026 -0.1904)
OKLCHoklch(45.75% 0.216 298.3)
XYZxyz(15.7392, 7.9584, 48.2741)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23BC #74BC23
analogous
#2328BC #6B23BC #B723BC
triadic
#6B23BC #BC6B23 #23BC6B
tetradic
#6B23BC #BC2328 #74BC23 #23BCB7
square
#6B23BC #BC2328 #74BC23 #23BCB7
split-complementary
#6B23BC #BCB723 #28BC23
monochromatic
#301055 #4E1988 #6B23BC #8A41DC #A974E5

Accessibility & contrast

On white

8.10
#6B23BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6B23BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23BC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23BC#FFFFFF#000000##FFFFFF
##6B23BC1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#564F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b23bc;
/* rgb */ color: rgb(107, 35, 188);
/* oklch */ color: oklch(45.8% 0.216 298.3);
Tailwind
colors: {
  custom: {
    50: '#9d68d1',
    500: '#6b23bc',
    950: '#000000',
  },
}
SCSS
$custom: #6b23bc;
$custom-light: #9d68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23bc",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 268.235,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.21623,
    "h": 298.3
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#6B23BC
secondary
#A0CC6F
accent
#EB3C99
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6B23BC

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

Preview Lab → · Contrast checker → · Palette generator →

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