#6F23B1#6F23B1

#6F23B1 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.206 H 302.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6F23B1
RGBrgb(111, 35, 177)
HSLhsl(272, 67%, 42%)
HSVhsv(272, 80%, 69%)
CMYKcmyk(37.3%, 80.2%, 0%, 30.6%)
CIE-LABlab(33.47, 57.51, -60.63)
CIE-LCHlch(33.47, 83.57, 313.49°)
OKLaboklab(45.28% 0.1118 -0.1731)
OKLCHoklch(45.28% 0.206 302.9)
XYZxyz(15.0905, 7.7559, 42.2885)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23B1 #65B123
analogous
#2823B1 #6F23B1 #B123AC
triadic
#6F23B1 #B16F23 #23B16F
tetradic
#6F23B1 #B12823 #65B123 #23ACB1
square
#6F23B1 #B12823 #65B123 #23ACB1
split-complementary
#6F23B1 #ACB123 #23B128
monochromatic
#2F0F4B #4F197E #6F23B1 #8E39D8 #AB6CE2

Accessibility & contrast

On white

8.23
#6F23B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6F23B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23B1
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23B1#FFFFFF#000000##FFFFFF
##6F23B11.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f23b1;
/* rgb */ color: rgb(111, 35, 177);
/* oklch */ color: oklch(45.3% 0.206 302.9);
Tailwind
colors: {
  custom: {
    50: '#9f68c9',
    500: '#6f23b1',
    950: '#000000',
  },
}
SCSS
$custom: #6f23b1;
$custom-light: #9f68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23b1",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 272.113,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.20605,
    "h": 302.9
  },
  "luminance": 0.07756
}

Semantic roles & 50–950 ramp

primary
#6F23B1
secondary
#94C868
accent
#EA3E8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F23B1

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

Preview Lab → · Contrast checker → · Palette generator →

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