#6246AF#6246AF

#6246AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.1% C 0.160 H 291.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6246AF
RGBrgb(98, 70, 175)
HSLhsl(256, 43%, 48%)
HSVhsv(256, 60%, 69%)
CMYKcmyk(44%, 60%, 0%, 31.4%)
CIE-LABlab(37.97, 37.35, -52.19)
CIE-LCHlch(37.97, 64.18, 305.58°)
OKLaboklab(48.1% 0.0587 -0.1489)
OKLCHoklch(48.1% 0.16 291.5)
XYZxyz(14.9629, 10.0717, 41.7048)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6246AF #93AF46
analogous
#465EAF #6246AF #9646AF
triadic
#6246AF #AF6246 #46AF62
tetradic
#6246AF #AF465E #93AF46 #46AF96
square
#6246AF #AF465E #93AF46 #46AF96
split-complementary
#6246AF #AF9646 #5EAF46
monochromatic
#312358 #4A3583 #6246AF #856DC5 #A999D6

Accessibility & contrast

On white

6.97
#6246AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6246AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6246AF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6246AF#FFFFFF#000000##FFFFFF
##6246AF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#4C5E74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6246af;
/* rgb */ color: rgb(98, 70, 175);
/* oklch */ color: oklch(48.1% 0.160 291.5);
Tailwind
colors: {
  custom: {
    50: '#947ac8',
    500: '#6246af',
    950: '#000000',
  },
}
SCSS
$custom: #6246af;
$custom-light: #947ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6246af",
  "rgb": {
    "r": 98,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 256,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.16,
    "h": 291.5
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#6246AF
secondary
#B5C28E
accent
#D355B1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6246AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6246AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva