#6F18B3#6F18B3

#6F18B3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.6% C 0.217 H 303.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#6F18B3
RGBrgb(111, 24, 179)
HSLhsl(274, 76%, 40%)
HSVhsv(274, 87%, 70%)
CMYKcmyk(38%, 86.6%, 0%, 29.8%)
CIE-LABlab(32.45, 61.46, -63.49)
CIE-LCHlch(32.45, 88.36, 314.07°)
OKLaboklab(44.63% 0.1185 -0.1814)
OKLCHoklch(44.63% 0.217 303.2)
XYZxyz(15.0169, 7.2874, 43.2546)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F18B3 #5CB318
analogous
#2118B3 #6F18B3 #B318AA
triadic
#6F18B3 #B36F18 #18B36F
tetradic
#6F18B3 #B32118 #5CB318 #18AAB3
square
#6F18B3 #B32118 #5CB318 #18AAB3
split-complementary
#6F18B3 #AAB318 #18B321
monochromatic
#2C0A47 #4E117D #6F18B3 #9026E2 #AB5CE9

Accessibility & contrast

On white

8.55
#6F18B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6F18B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F18B3
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F18B3#FFFFFF#000000##FFFFFF
##6F18B31.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#61476A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f18b3;
/* rgb */ color: rgb(111, 24, 179);
/* oklch */ color: oklch(44.6% 0.217 303.2);
Tailwind
colors: {
  custom: {
    50: '#9f64cb',
    500: '#6f18b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f18b3;
$custom-light: #9f64cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f18b3",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 179
  },
  "hsl": {
    "h": 273.677,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44625,
    "c": 0.21663,
    "h": 303.2
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#6F18B3
secondary
#8CCD5A
accent
#F33588
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #6F18B3

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

Preview Lab → · Contrast checker → · Palette generator →

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