#6B23BA#6B23BA

#6B23BA is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.214 H 298.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6B23BA
RGBrgb(107, 35, 186)
HSLhsl(269, 68%, 43%)
HSVhsv(269, 81%, 73%)
CMYKcmyk(42.5%, 81.2%, 0%, 27.1%)
CIE-LABlab(33.72, 59.02, -65.59)
CIE-LCHlch(33.72, 88.24, 311.98°)
OKLaboklab(45.57% 0.1032 -0.1878)
OKLCHoklch(45.57% 0.214 298.8)
XYZxyz(15.5251, 7.8728, 47.1465)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23BA #72BA23
analogous
#2327BA #6B23BA #B623BA
triadic
#6B23BA #BA6B23 #23BA6B
tetradic
#6B23BA #BA2327 #72BA23 #23BAB6
square
#6B23BA #BA2327 #72BA23 #23BAB6
split-complementary
#6B23BA #BAB623 #27BA23
monochromatic
#301053 #4D1986 #6B23BA #893FDB #A973E5

Accessibility & contrast

On white

8.16
#6B23BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6B23BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23BA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23BA#FFFFFF#000000##FFFFFF
##6B23BA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#574E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6b23ba;
/* rgb */ color: rgb(107, 35, 186);
/* oklch */ color: oklch(45.6% 0.214 298.8);
Tailwind
colors: {
  custom: {
    50: '#9d68d0',
    500: '#6b23ba',
    950: '#000000',
  },
}
SCSS
$custom: #6b23ba;
$custom-light: #9d68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23ba",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 186
  },
  "hsl": {
    "h": 268.609,
    "s": 68.326,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.21425,
    "h": 298.8
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#6B23BA
secondary
#9FCC6D
accent
#EB3D98
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B23BA

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

Preview Lab → · Contrast checker → · Palette generator →

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