#6D23B0#6D23B0

#6D23B0 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.205 H 302.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6D23B0
RGBrgb(109, 35, 176)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 80%, 69%)
CMYKcmyk(38.1%, 80.1%, 0%, 31%)
CIE-LABlab(33.11, 56.97, -60.63)
CIE-LCHlch(33.11, 83.20, 313.21°)
OKLaboklab(44.94% 0.1092 -0.1731)
OKLCHoklch(44.94% 0.205 302.2)
XYZxyz(14.7423, 7.5878, 41.7538)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D23B0 #66B023
analogous
#2623B0 #6D23B0 #B023AD
triadic
#6D23B0 #B06D23 #23B06D
tetradic
#6D23B0 #B02623 #66B023 #23ADB0
square
#6D23B0 #B02623 #66B023 #23ADB0
split-complementary
#6D23B0 #ADB023 #23B026
monochromatic
#2E0F4A #4D197D #6D23B0 #8C39D8 #AA6CE2

Accessibility & contrast

On white

8.34
#6D23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6D23B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D23B0
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D23B0#FFFFFF#000000##FFFFFF
##6D23B01.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#5E4A6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d23b0;
/* rgb */ color: rgb(109, 35, 176);
/* oklch */ color: oklch(44.9% 0.205 302.2);
Tailwind
colors: {
  custom: {
    50: '#9d68c9',
    500: '#6d23b0',
    950: '#000000',
  },
}
SCSS
$custom: #6d23b0;
$custom-light: #9d68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d23b0",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 271.489,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4494,
    "c": 0.2047,
    "h": 302.2
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#6D23B0
secondary
#95C867
accent
#EA3E90
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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