#6C47DB#6C47DB

#6C47DB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.213 H 288.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6C47DB
RGBrgb(108, 71, 219)
HSLhsl(255, 67%, 57%)
HSVhsv(255, 68%, 86%)
CMYKcmyk(50.7%, 67.6%, 0%, 14.1%)
CIE-LABlab(42.47, 51.29, -70.44)
CIE-LCHlch(42.47, 87.13, 306.06°)
OKLaboklab(52.64% 0.0669 -0.2022)
OKLCHoklch(52.64% 0.213 288.3)
XYZxyz(21.2200, 12.8081, 68.3582)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C47DB #B6DB47
analogous
#476CDB #6C47DB #B647DB
triadic
#6C47DB #DB6C47 #47DB6C
tetradic
#6C47DB #DB476C #B6DB47 #47DBB6
square
#6C47DB #DB476C #B6DB47 #47DBB6
split-complementary
#6C47DB #DBB647 #6CDB47
monochromatic
#381B8C #4C25BF #6C47DB #957AE5 #BEADEF

Accessibility & contrast

On white

5.90
#6C47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6C47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C47DB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C47DB#FFFFFF#000000##FFFFFF
##6C47DB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#436D8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c47db;
/* rgb */ color: rgb(108, 71, 219);
/* oklch */ color: oklch(52.6% 0.213 288.3);
Tailwind
colors: {
  custom: {
    50: '#a07de7',
    500: '#6c47db',
    950: '#000000',
  },
}
SCSS
$custom: #6c47db;
$custom-light: #a07de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c47db",
  "rgb": {
    "r": 108,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 255,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52636,
    "c": 0.21295,
    "h": 288.3
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#6C47DB
secondary
#CEDDA1
accent
#EA3EBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6C47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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