#6249AC#6249AC

#6249AC is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.4% C 0.152 H 291.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6249AC
RGBrgb(98, 73, 172)
HSLhsl(255, 40%, 48%)
HSVhsv(255, 58%, 67%)
CMYKcmyk(43%, 57.6%, 0%, 32.5%)
CIE-LABlab(38.45, 34.70, -49.65)
CIE-LCHlch(38.45, 60.57, 304.95°)
OKLaboklab(48.39% 0.0552 -0.1414)
OKLCHoklch(48.39% 0.152 291.3)
XYZxyz(14.8639, 10.3399, 40.2344)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249AC #93AC49
analogous
#4961AC #6249AC #9449AC
triadic
#6249AC #AC6249 #49AC62
tetradic
#6249AC #AC4961 #93AC49 #49AC94
square
#6249AC #AC4961 #93AC49 #49AC94
split-complementary
#6249AC #AC9449 #61AC49
monochromatic
#312556 #4A3781 #6249AC #8570C2 #A99BD5

Accessibility & contrast

On white

6.84
#6249AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6249AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249AC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249AC#FFFFFF#000000##FFFFFF
##6249AC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAF
Deuteranopia (green-blind)
#1658AA
Tritanopia (blue-blind)
#4D5F73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6249ac;
/* rgb */ color: rgb(98, 73, 172);
/* oklch */ color: oklch(48.4% 0.152 291.3);
Tailwind
colors: {
  custom: {
    50: '#947cc5',
    500: '#6249ac',
    950: '#000000',
  },
}
SCSS
$custom: #6249ac;
$custom-light: #947cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6249ac",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 255.152,
    "s": 40.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48385,
    "c": 0.15175,
    "h": 291.3
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#6249AC
secondary
#B5C190
accent
#D058B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6249AC

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

Preview Lab → · Contrast checker → · Palette generator →

#6249AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva