#6A23D4#6A23D4

#6A23D4 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.9% C 0.240 H 292.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6A23D4
RGBrgb(106, 35, 212)
HSLhsl(264, 72%, 48%)
HSVhsv(264, 83%, 83%)
CMYKcmyk(50%, 83.5%, 0%, 16.9%)
CIE-LABlab(36.02, 65.15, -77.01)
CIE-LCHlch(36.02, 100.87, 310.23°)
OKLaboklab(47.87% 0.0927 -0.2212)
OKLCHoklch(47.87% 0.24 292.7)
XYZxyz(18.4252, 9.0190, 63.0446)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A23D4 #8DD423
analogous
#2334D4 #6A23D4 #C223D4
triadic
#6A23D4 #D46A23 #23D46A
tetradic
#6A23D4 #D42334 #8DD423 #23D4C2
square
#6A23D4 #D42334 #8DD423 #23D4C2
split-complementary
#6A23D4 #D4C223 #34D423
monochromatic
#35126B #501A9F #6A23D4 #8C52E2 #AF86EB

Accessibility & contrast

On white

7.49
#6A23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6A23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A23D4
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A23D4#FFFFFF#000000##FFFFFF
##6A23D41.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D9
Deuteranopia (green-blind)
#0051D1
Tritanopia (blue-blind)
#465A7F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a23d4;
/* rgb */ color: rgb(106, 35, 212);
/* oklch */ color: oklch(47.9% 0.240 292.7);
Tailwind
colors: {
  custom: {
    50: '#a069e3',
    500: '#6a23d4',
    950: '#000000',
  },
}
SCSS
$custom: #6a23d4;
$custom-light: #a069e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a23d4",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 264.068,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47868,
    "c": 0.23987,
    "h": 292.7
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#6A23D4
secondary
#B2D47E
accent
#EE39A6
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6A23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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