#6B23A3#6B23A3

#6B23A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.191 H 305.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6B23A3
RGBrgb(107, 35, 163)
HSLhsl(274, 65%, 39%)
HSVhsv(274, 79%, 64%)
CMYKcmyk(34.4%, 78.5%, 0%, 36.1%)
CIE-LABlab(31.74, 53.62, -55.06)
CIE-LCHlch(31.74, 76.86, 314.24°)
OKLaboklab(43.59% 0.1098 -0.1569)
OKLCHoklch(43.59% 0.191 305)
XYZxyz(13.2738, 6.9723, 35.2897)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23A3 #5BA323
analogous
#2B23A3 #6B23A3 #A3239B
triadic
#6B23A3 #A36B23 #23A36B
tetradic
#6B23A3 #A32B23 #5BA323 #239BA3
square
#6B23A3 #A32B23 #5BA323 #239BA3
split-complementary
#6B23A3 #9BA323 #23A32B
monochromatic
#290D3E #4A1871 #6B23A3 #8C31D3 #A863DD

Accessibility & contrast

On white

8.77
#6B23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6B23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23A3
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23A3#FFFFFF#000000##FFFFFF
##6B23A31.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#604463
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6b23a3;
/* rgb */ color: rgb(107, 35, 163);
/* oklch */ color: oklch(43.6% 0.191 305.0);
Tailwind
colors: {
  custom: {
    50: '#9b67bf',
    500: '#6b23a3',
    950: '#000000',
  },
}
SCSS
$custom: #6b23a3;
$custom-light: #9b67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23a3",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 273.75,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4359,
    "c": 0.19148,
    "h": 305
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#6B23A3
secondary
#8BC35F
accent
#E84089
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6B23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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