#6149CF#6149CF

#6149CF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.197 H 285.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6149CF
RGBrgb(97, 73, 207)
HSLhsl(251, 58%, 55%)
HSVhsv(251, 65%, 81%)
CMYKcmyk(53.1%, 64.7%, 0%, 18.8%)
CIE-LABlab(40.91, 44.82, -66.13)
CIE-LCHlch(40.91, 79.89, 304.13°)
OKLaboklab(50.97% 0.0517 -0.1899)
OKLCHoklch(50.97% 0.197 285.2)
XYZxyz(18.5714, 11.8105, 60.3205)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6149CF #B7CF49
analogous
#4974CF #6149CF #A449CF
triadic
#6149CF #CF6149 #49CF61
tetradic
#6149CF #CF4974 #B7CF49 #49CFA4
square
#6149CF #CF4974 #B7CF49 #49CFA4
split-complementary
#6149CF #CFA449 #74CF49
monochromatic
#31217D #442EAD #6149CF #8B79DC #B5AAE9

Accessibility & contrast

On white

6.25
#6149CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6149CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6149CF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6149CF#FFFFFF#000000##FFFFFF
##6149CF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#336A85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6149cf;
/* rgb */ color: rgb(97, 73, 207);
/* oklch */ color: oklch(51.0% 0.197 285.2);
Tailwind
colors: {
  custom: {
    50: '#977ddf',
    500: '#6149cf',
    950: '#000000',
  },
}
SCSS
$custom: #6149cf;
$custom-light: #977ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#6149cf",
  "rgb": {
    "r": 97,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 250.746,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50972,
    "c": 0.1968,
    "h": 285.2
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#6149CF
secondary
#CCD69E
accent
#E146C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6149CF

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

Preview Lab → · Contrast checker → · Palette generator →

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