#6F18B4#6F18B4

#6F18B4 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.7% C 0.218 H 302.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6F18B4
RGBrgb(111, 24, 180)
HSLhsl(273, 76%, 40%)
HSVhsv(273, 87%, 71%)
CMYKcmyk(38.3%, 86.7%, 0%, 29.4%)
CIE-LABlab(32.54, 61.68, -63.93)
CIE-LCHlch(32.54, 88.83, 313.97°)
OKLaboklab(44.71% 0.1181 -0.1827)
OKLCHoklch(44.71% 0.218 302.9)
XYZxyz(15.1184, 7.3280, 43.7891)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F18B4 #5DB418
analogous
#2118B4 #6F18B4 #B418AB
triadic
#6F18B4 #B46F18 #18B46F
tetradic
#6F18B4 #B42118 #5DB418 #18ABB4
square
#6F18B4 #B42118 #5DB418 #18ABB4
split-complementary
#6F18B4 #ABB418 #18B421
monochromatic
#2C0A48 #4E117E #6F18B4 #8F27E2 #AB5DE9

Accessibility & contrast

On white

8.52
#6F18B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F18B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F18B4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F18B4#FFFFFF#000000##FFFFFF
##6F18B41.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#60476B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f18b4;
/* rgb */ color: rgb(111, 24, 180);
/* oklch */ color: oklch(44.7% 0.218 302.9);
Tailwind
colors: {
  custom: {
    50: '#a064cc',
    500: '#6f18b4',
    950: '#000000',
  },
}
SCSS
$custom: #6f18b4;
$custom-light: #a064cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f18b4",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 180
  },
  "hsl": {
    "h": 273.462,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.44714,
    "c": 0.21754,
    "h": 302.9
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#6F18B4
secondary
#8DCD5B
accent
#F33589
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #6F18B4

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

Preview Lab → · Contrast checker → · Palette generator →

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