#6F23A2#6F23A2

#6F23A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.191 H 307.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#6F23A2
RGBrgb(111, 35, 162)
HSLhsl(276, 64%, 39%)
HSVhsv(276, 78%, 64%)
CMYKcmyk(31.5%, 78.4%, 0%, 36.5%)
CIE-LABlab(32.24, 54.09, -53.63)
CIE-LCHlch(32.24, 76.17, 315.25°)
OKLaboklab(44.03% 0.1158 -0.1525)
OKLCHoklch(44.03% 0.191 307.2)
XYZxyz(13.6768, 7.1904, 34.8428)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23A2 #56A223
analogous
#3023A2 #6F23A2 #A22395
triadic
#6F23A2 #A26F23 #23A26F
tetradic
#6F23A2 #A23023 #56A223 #2395A2
square
#6F23A2 #A23023 #56A223 #2395A2
split-complementary
#6F23A2 #95A223 #23A230
monochromatic
#2A0D3D #4D1870 #6F23A2 #9130D2 #AC62DD

Accessibility & contrast

On white

8.61
#6F23A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6F23A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23A2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23A2#FFFFFF#000000##FFFFFF
##6F23A21.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#664362
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f23a2;
/* rgb */ color: rgb(111, 35, 162);
/* oklch */ color: oklch(44.0% 0.191 307.2);
Tailwind
colors: {
  custom: {
    50: '#9d67be',
    500: '#6f23a2',
    950: '#000000',
  },
}
SCSS
$custom: #6f23a2;
$custom-light: #9d67be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23a2",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 275.906,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.19147,
    "h": 307.2
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#6F23A2
secondary
#87C25E
accent
#E74083
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F23A2

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

Preview Lab → · Contrast checker → · Palette generator →

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