#6B23AF#6B23AF

#6B23AF is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.203 H 301.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6B23AF
RGBrgb(107, 35, 175)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 80%, 69%)
CMYKcmyk(38.9%, 80%, 0%, 31.4%)
CIE-LABlab(32.75, 56.42, -60.63)
CIE-LCHlch(32.75, 82.82, 312.94°)
OKLaboklab(44.61% 0.1066 -0.1732)
OKLCHoklch(44.61% 0.203 301.6)
XYZxyz(14.4004, 7.4229, 41.2232)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B23AF #67AF23
analogous
#2523AF #6B23AF #AF23AD
triadic
#6B23AF #AF6B23 #23AF6B
tetradic
#6B23AF #AF2523 #67AF23 #23ADAF
square
#6B23AF #AF2523 #67AF23 #23ADAF
split-complementary
#6B23AF #ADAF23 #23AF25
monochromatic
#2D0F49 #4C197C #6B23AF #8A38D7 #A86BE1

Accessibility & contrast

On white

8.45
#6B23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6B23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B23AF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B23AF#FFFFFF#000000##FFFFFF
##6B23AF1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#5C4969
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b23af;
/* rgb */ color: rgb(107, 35, 175);
/* oklch */ color: oklch(44.6% 0.203 301.6);
Tailwind
colors: {
  custom: {
    50: '#9c67c8',
    500: '#6b23af',
    950: '#000000',
  },
}
SCSS
$custom: #6b23af;
$custom-light: #9c67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b23af",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 270.857,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44605,
    "c": 0.20336,
    "h": 301.6
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#6B23AF
secondary
#96C766
accent
#EA3E91
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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