#6149CC#6149CC

#6149CC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.193 H 285.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6149CC
RGBrgb(97, 73, 204)
HSLhsl(251, 56%, 54%)
HSVhsv(251, 64%, 80%)
CMYKcmyk(52.5%, 64.2%, 0%, 20%)
CIE-LABlab(40.68, 43.93, -64.78)
CIE-LCHlch(40.68, 78.27, 304.14°)
OKLaboklab(50.73% 0.0521 -0.1859)
OKLCHoklch(50.73% 0.193 285.6)
XYZxyz(18.2081, 11.6652, 58.4072)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6149CC #B4CC49
analogous
#4973CC #6149CC #A249CC
triadic
#6149CC #CC6149 #49CC61
tetradic
#6149CC #CC4973 #B4CC49 #49CCA2
square
#6149CC #CC4973 #B4CC49 #49CCA2
split-complementary
#6149CC #CCA249 #73CC49
monochromatic
#322279 #452FA9 #6149CC #8B79D9 #B4A9E7

Accessibility & contrast

On white

6.30
#6149CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6149CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6149CC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6149CC#FFFFFF#000000##FFFFFF
##6149CC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#366984
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6149cc;
/* rgb */ color: rgb(97, 73, 204);
/* oklch */ color: oklch(50.7% 0.193 285.6);
Tailwind
colors: {
  custom: {
    50: '#977ddc',
    500: '#6149cc',
    950: '#000000',
  },
}
SCSS
$custom: #6149cc;
$custom-light: #977ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#6149cc",
  "rgb": {
    "r": 97,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 250.992,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.19306,
    "h": 285.6
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#6149CC
secondary
#CAD49D
accent
#E048C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6149CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6149CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva