#6F23B0#6F23B0

#6F23B0 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.2% C 0.205 H 303.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6F23B0
RGBrgb(111, 35, 176)
HSLhsl(272, 67%, 41%)
HSVhsv(272, 80%, 69%)
CMYKcmyk(36.9%, 80.1%, 0%, 31%)
CIE-LABlab(33.38, 57.28, -60.17)
CIE-LCHlch(33.38, 83.08, 313.59°)
OKLaboklab(45.19% 0.1121 -0.1717)
OKLCHoklch(45.19% 0.205 303.1)
XYZxyz(14.9912, 7.7162, 41.7655)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23B0 #64B023
analogous
#2823B0 #6F23B0 #B023AB
triadic
#6F23B0 #B06F23 #23B06F
tetradic
#6F23B0 #B02823 #64B023 #23ABB0
square
#6F23B0 #B02823 #64B023 #23ABB0
split-complementary
#6F23B0 #ABB023 #23B028
monochromatic
#2F0F4A #4F197D #6F23B0 #8E39D8 #AB6CE2

Accessibility & contrast

On white

8.26
#6F23B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F23B0
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23B0#FFFFFF#000000##FFFFFF
##6F23B01.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#61496A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f23b0;
/* rgb */ color: rgb(111, 35, 176);
/* oklch */ color: oklch(45.2% 0.205 303.1);
Tailwind
colors: {
  custom: {
    50: '#9f68c9',
    500: '#6f23b0',
    950: '#000000',
  },
}
SCSS
$custom: #6f23b0;
$custom-light: #9f68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23b0",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 272.34,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4519,
    "c": 0.20508,
    "h": 303.1
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#6F23B0
secondary
#94C867
accent
#EA3E8D
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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