#6F23D4#6F23D4

#6F23D4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.4% C 0.240 H 294.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6F23D4
RGBrgb(111, 35, 212)
HSLhsl(266, 72%, 48%)
HSVhsv(266, 83%, 83%)
CMYKcmyk(47.6%, 83.5%, 0%, 16.9%)
CIE-LABlab(36.62, 65.73, -76.00)
CIE-LCHlch(36.62, 100.48, 310.86°)
OKLaboklab(48.41% 0.1003 -0.2181)
OKLCHoklch(48.41% 0.24 294.7)
XYZxyz(19.0370, 9.3345, 63.0733)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23D4 #88D423
analogous
#232FD4 #6F23D4 #C723D4
triadic
#6F23D4 #D46F23 #23D46F
tetradic
#6F23D4 #D4232F #88D423 #23D4C7
square
#6F23D4 #D4232F #88D423 #23D4C7
split-complementary
#6F23D4 #D4C723 #2FD423
monochromatic
#38126B #531A9F #6F23D4 #9052E2 #B286EB

Accessibility & contrast

On white

7.32
#6F23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6F23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23D4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23D4#FFFFFF#000000##FFFFFF
##6F23D41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D9
Deuteranopia (green-blind)
#0053D1
Tritanopia (blue-blind)
#50597F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f23d4;
/* rgb */ color: rgb(111, 35, 212);
/* oklch */ color: oklch(48.4% 0.240 294.7);
Tailwind
colors: {
  custom: {
    50: '#a36ae3',
    500: '#6f23d4',
    950: '#000000',
  },
}
SCSS
$custom: #6f23d4;
$custom-light: #a36ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23d4",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 265.763,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.24009,
    "h": 294.7
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#6F23D4
secondary
#AFD47E
accent
#EE39A1
background
#FAF6FE
surface
#F4ECFC
border
#CEC7D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6F23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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