#6F18AB#6F18AB

#6F18AB is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.9% C 0.209 H 305.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6F18AB
RGBrgb(111, 24, 171)
HSLhsl(276, 75%, 38%)
HSVhsv(276, 86%, 67%)
CMYKcmyk(35.1%, 86%, 0%, 32.9%)
CIE-LABlab(31.75, 59.70, -59.86)
CIE-LCHlch(31.75, 84.54, 314.93°)
OKLaboklab(43.92% 0.1212 -0.1707)
OKLCHoklch(43.92% 0.209 305.4)
XYZxyz(14.2312, 6.9731, 39.1164)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F18AB #54AB18
analogous
#2518AB #6F18AB #AB189D
triadic
#6F18AB #AB6F18 #18AB6F
tetradic
#6F18AB #AB2518 #54AB18 #189DAB
square
#6F18AB #AB2518 #54AB18 #189DAB
split-complementary
#6F18AB #9DAB18 #18AB25
monochromatic
#290940 #4C1075 #6F18AB #9220E0 #AC56E7

Accessibility & contrast

On white

8.77
#6F18AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6F18AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F18AB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F18AB#FFFFFF#000000##FFFFFF
##6F18AB1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#634365
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f18ab;
/* rgb */ color: rgb(111, 24, 171);
/* oklch */ color: oklch(43.9% 0.209 305.4);
Tailwind
colors: {
  custom: {
    50: '#9f63c5',
    500: '#6f18ab',
    950: '#000000',
  },
}
SCSS
$custom: #6f18ab;
$custom-light: #9f63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f18ab",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 171
  },
  "hsl": {
    "h": 275.51,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.20937,
    "h": 305.4
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#6F18AB
secondary
#85CA55
accent
#F23683
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F18AB

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

Preview Lab → · Contrast checker → · Palette generator →

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