#6D23A2#6D23A2

#6D23A2 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.191 H 306.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6D23A2
RGBrgb(109, 35, 162)
HSLhsl(275, 64%, 39%)
HSVhsv(275, 78%, 64%)
CMYKcmyk(32.7%, 78.4%, 0%, 36.5%)
CIE-LABlab(31.95, 53.74, -54.11)
CIE-LCHlch(31.95, 76.27, 314.80°)
OKLaboklab(43.77% 0.1129 -0.154)
OKLCHoklch(43.77% 0.191 306.3)
XYZxyz(13.4279, 7.0620, 34.8311)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D23A2 #58A223
analogous
#2E23A2 #6D23A2 #A22397
triadic
#6D23A2 #A26D23 #23A26D
tetradic
#6D23A2 #A22E23 #58A223 #2397A2
square
#6D23A2 #A22E23 #58A223 #2397A2
split-complementary
#6D23A2 #97A223 #23A22E
monochromatic
#290D3D #4B1870 #6D23A2 #8F30D2 #AA62DD

Accessibility & contrast

On white

8.71
#6D23A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6D23A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D23A2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D23A2#FFFFFF#000000##FFFFFF
##6D23A21.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#644462
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d23a2;
/* rgb */ color: rgb(109, 35, 162);
/* oklch */ color: oklch(43.8% 0.191 306.3);
Tailwind
colors: {
  custom: {
    50: '#9c67be',
    500: '#6d23a2',
    950: '#000000',
  },
}
SCSS
$custom: #6d23a2;
$custom-light: #9c67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d23a2",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 274.961,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43768,
    "c": 0.19096,
    "h": 306.3
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#6D23A2
secondary
#88C25E
accent
#E74086
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D23A2

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

Preview Lab → · Contrast checker → · Palette generator →

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