#6B23BD#6B23BD

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

Color values

HEX#6B23BD
RGBrgb(107, 35, 189)
HSLhsl(268, 69%, 44%)
HSVhsv(268, 81%, 74%)
CMYKcmyk(43.4%, 81.5%, 0%, 25.9%)
CIE-LABlab(33.99, 59.74, -66.92)
CIE-LCHlch(33.99, 89.70, 311.76°)
OKLaboklab(45.84% 0.1022 -0.1917)
OKLCHoklch(45.84% 0.217 298.1)
XYZxyz(15.8474, 8.0017, 48.8438)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23BD #75BD23
analogous
#2328BD #6B23BD #B823BD
triadic
#6B23BD #BD6B23 #23BD6B
tetradic
#6B23BD #BD2328 #75BD23 #23BDB8
square
#6B23BD #BD2328 #75BD23 #23BDB8
split-complementary
#6B23BD #BDB823 #28BD23
monochromatic
#311056 #4E1989 #6B23BD #8A41DC #AA75E5

Accessibility & contrast

On white

8.08
#6B23BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6B23BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23BD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23BD#FFFFFF#000000##FFFFFF
##6B23BD1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#565072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b23bd;
/* rgb */ color: rgb(107, 35, 189);
/* oklch */ color: oklch(45.8% 0.217 298.1);
Tailwind
colors: {
  custom: {
    50: '#9d68d2',
    500: '#6b23bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b23bd;
$custom-light: #9d68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23bd",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 268.052,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45842,
    "c": 0.21722,
    "h": 298.1
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#6B23BD
secondary
#A1CD6F
accent
#EC3C9A
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6B23BD

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

Preview Lab → · Contrast checker → · Palette generator →

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