#6B23D4#6B23D4

#6B23D4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 48.0% C 0.240 H 293.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6B23D4
RGBrgb(107, 35, 212)
HSLhsl(264, 72%, 48%)
HSVhsv(264, 83%, 83%)
CMYKcmyk(49.5%, 83.5%, 0%, 16.9%)
CIE-LABlab(36.14, 65.26, -76.81)
CIE-LCHlch(36.14, 100.79, 310.35°)
OKLaboklab(47.98% 0.0943 -0.2206)
OKLCHoklch(47.98% 0.24 293.1)
XYZxyz(18.5448, 9.0807, 63.0502)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23D4 #8CD423
analogous
#2333D4 #6B23D4 #C323D4
triadic
#6B23D4 #D46B23 #23D46B
tetradic
#6B23D4 #D42333 #8CD423 #23D4C3
square
#6B23D4 #D42333 #8CD423 #23D4C3
split-complementary
#6B23D4 #D4C323 #33D423
monochromatic
#36126B #501A9F #6B23D4 #8D52E2 #AF86EB

Accessibility & contrast

On white

7.46
#6B23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6B23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23D4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23D4#FFFFFF#000000##FFFFFF
##6B23D41.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b23d4;
/* rgb */ color: rgb(107, 35, 212);
/* oklch */ color: oklch(48.0% 0.240 293.1);
Tailwind
colors: {
  custom: {
    50: '#a069e3',
    500: '#6b23d4',
    950: '#000000',
  },
}
SCSS
$custom: #6b23d4;
$custom-light: #a069e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23d4",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 264.407,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.2399,
    "h": 293.1
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#6B23D4
secondary
#B1D47E
accent
#EE39A5
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6B23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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