#6243AA#6243AA

#6243AA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.2% C 0.158 H 293.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6243AA
RGBrgb(98, 67, 170)
HSLhsl(258, 43%, 46%)
HSVhsv(258, 61%, 67%)
CMYKcmyk(42.4%, 60.6%, 0%, 33.3%)
CIE-LABlab(36.95, 37.67, -50.86)
CIE-LCHlch(36.95, 63.29, 306.52°)
OKLaboklab(47.25% 0.0624 -0.145)
OKLCHoklch(47.25% 0.158 293.3)
XYZxyz(14.2979, 9.5129, 39.1053)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6243AA #8BAA43
analogous
#4358AA #6243AA #9643AA
triadic
#6243AA #AA6243 #43AA62
tetradic
#6243AA #AA4358 #8BAA43 #43AA96
square
#6243AA #AA4358 #8BAA43 #43AA96
split-complementary
#6243AA #AA9643 #58AA43
monochromatic
#2F2052 #49327E #6243AA #8367C3 #A793D4

Accessibility & contrast

On white

7.23
#6243AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6243AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6243AA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6243AA#FFFFFF#000000##FFFFFF
##6243AA1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0555A8
Tritanopia (blue-blind)
#4E5A70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6243aa;
/* rgb */ color: rgb(98, 67, 170);
/* oklch */ color: oklch(47.2% 0.158 293.3);
Tailwind
colors: {
  custom: {
    50: '#9478c4',
    500: '#6243aa',
    950: '#000000',
  },
}
SCSS
$custom: #6243aa;
$custom-light: #9478c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6243aa",
  "rgb": {
    "r": 98,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 258.058,
    "s": 43.46,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47246,
    "c": 0.15782,
    "h": 293.3
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#6243AA
secondary
#AFC089
accent
#D355AD
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6243AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6243AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva