#6F23AF#6F23AF

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

Color values

HEX#6F23AF
RGBrgb(111, 35, 175)
HSLhsl(273, 67%, 41%)
HSVhsv(273, 80%, 69%)
CMYKcmyk(36.6%, 80%, 0%, 31.4%)
CIE-LABlab(33.30, 57.05, -59.71)
CIE-LCHlch(33.30, 82.59, 313.70°)
OKLaboklab(45.11% 0.1124 -0.1704)
OKLCHoklch(45.11% 0.204 303.4)
XYZxyz(14.8926, 7.6767, 41.2463)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23AF #63AF23
analogous
#2923AF #6F23AF #AF23A9
triadic
#6F23AF #AF6F23 #23AF6F
tetradic
#6F23AF #AF2923 #63AF23 #23A9AF
square
#6F23AF #AF2923 #63AF23 #23A9AF
split-complementary
#6F23AF #A9AF23 #23AF29
monochromatic
#2E0F49 #4F197C #6F23AF #8E38D7 #AB6BE1

Accessibility & contrast

On white

8.28
#6F23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6F23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23AF
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23AF#FFFFFF#000000##FFFFFF
##6F23AF1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#624969
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f23af;
/* rgb */ color: rgb(111, 35, 175);
/* oklch */ color: oklch(45.1% 0.204 303.4);
Tailwind
colors: {
  custom: {
    50: '#9f68c8',
    500: '#6f23af',
    950: '#000000',
  },
}
SCSS
$custom: #6f23af;
$custom-light: #9f68c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23af",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 272.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.2041,
    "h": 303.4
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#6F23AF
secondary
#93C766
accent
#EA3E8D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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