#6241AF#6241AF

#6241AF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.3% C 0.167 H 292.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6241AF
RGBrgb(98, 65, 175)
HSLhsl(258, 46%, 47%)
HSVhsv(258, 63%, 69%)
CMYKcmyk(44%, 62.9%, 0%, 31.4%)
CIE-LABlab(36.88, 40.24, -53.96)
CIE-LCHlch(36.88, 67.31, 306.71°)
OKLaboklab(47.3% 0.0644 -0.1541)
OKLCHoklch(47.3% 0.167 292.7)
XYZxyz(14.6630, 9.4720, 41.6048)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6241AF #8EAF41
analogous
#4157AF #6241AF #9941AF
triadic
#6241AF #AF6241 #41AF62
tetradic
#6241AF #AF4157 #8EAF41 #41AF99
square
#6241AF #AF4157 #8EAF41 #41AF99
split-complementary
#6241AF #AF9941 #57AF41
monochromatic
#302056 #493082 #6241AF #8367C6 #A893D7

Accessibility & contrast

On white

7.26
#6241AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6241AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6241AF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6241AF#FFFFFF#000000##FFFFFF
##6241AF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#4C5A72
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6241af;
/* rgb */ color: rgb(98, 65, 175);
/* oklch */ color: oklch(47.3% 0.167 292.7);
Tailwind
colors: {
  custom: {
    50: '#9477c8',
    500: '#6241af',
    950: '#000000',
  },
}
SCSS
$custom: #6241af;
$custom-light: #9477c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6241af",
  "rgb": {
    "r": 98,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 258,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.16699,
    "h": 292.7
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#6241AF
secondary
#B1C289
accent
#D552AE
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6241AF

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

Preview Lab → · Contrast checker → · Palette generator →

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