#6F23B2#6F23B2

#6F23B2 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.207 H 302.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6F23B2
RGBrgb(111, 35, 178)
HSLhsl(272, 67%, 42%)
HSVhsv(272, 80%, 70%)
CMYKcmyk(37.6%, 80.3%, 0%, 30.2%)
CIE-LABlab(33.55, 57.74, -61.09)
CIE-LCHlch(33.55, 84.06, 313.39°)
OKLaboklab(45.36% 0.1115 -0.1744)
OKLCHoklch(45.36% 0.207 302.6)
XYZxyz(15.1905, 7.7959, 42.8153)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23B2 #66B223
analogous
#2823B2 #6F23B2 #B223AE
triadic
#6F23B2 #B26F23 #23B26F
tetradic
#6F23B2 #B22823 #66B223 #23AEB2
square
#6F23B2 #B22823 #66B223 #23AEB2
split-complementary
#6F23B2 #AEB223 #23B228
monochromatic
#2F0F4C #4F197F #6F23B2 #8E3AD8 #AB6DE2

Accessibility & contrast

On white

8.21
#6F23B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6F23B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23B2
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23B2#FFFFFF#000000##FFFFFF
##6F23B21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#614A6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f23b2;
/* rgb */ color: rgb(111, 35, 178);
/* oklch */ color: oklch(45.4% 0.207 302.6);
Tailwind
colors: {
  custom: {
    50: '#9f68ca',
    500: '#6f23b2',
    950: '#000000',
  },
}
SCSS
$custom: #6f23b2;
$custom-light: #9f68ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23b2",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 271.888,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4536,
    "c": 0.20703,
    "h": 302.6
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#6F23B2
secondary
#95C968
accent
#EA3E8E
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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