#6D23B2#6D23B2

#6D23B2 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.1% C 0.207 H 301.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6D23B2
RGBrgb(109, 35, 178)
HSLhsl(271, 67%, 42%)
HSVhsv(271, 80%, 70%)
CMYKcmyk(38.8%, 80.3%, 0%, 30.2%)
CIE-LABlab(33.28, 57.43, -61.54)
CIE-LCHlch(33.28, 84.18, 313.02°)
OKLaboklab(45.11% 0.1086 -0.1758)
OKLCHoklch(45.11% 0.207 301.7)
XYZxyz(14.9416, 7.6675, 42.8036)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D23B2 #68B223
analogous
#2623B2 #6D23B2 #B223B0
triadic
#6D23B2 #B26D23 #23B26D
tetradic
#6D23B2 #B22623 #68B223 #23B0B2
square
#6D23B2 #B22623 #68B223 #23B0B2
split-complementary
#6D23B2 #B0B223 #23B226
monochromatic
#2E0F4C #4E197F #6D23B2 #8C3AD8 #AA6DE2

Accessibility & contrast

On white

8.29
#6D23B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6D23B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D23B2
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D23B2#FFFFFF#000000##FFFFFF
##6D23B21.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#5E4A6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6d23b2;
/* rgb */ color: rgb(109, 35, 178);
/* oklch */ color: oklch(45.1% 0.207 301.7);
Tailwind
colors: {
  custom: {
    50: '#9e68ca',
    500: '#6d23b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d23b2;
$custom-light: #9e68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d23b2",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 271.049,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45112,
    "c": 0.20667,
    "h": 301.7
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#6D23B2
secondary
#97C968
accent
#EA3E91
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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