#A241E2#A241E2

#A241E2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.3% C 0.234 H 308.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A241E2
RGBrgb(162, 65, 226)
HSLhsl(276, 74%, 57%)
HSVhsv(276, 71%, 89%)
CMYKcmyk(28.3%, 71.2%, 0%, 11.4%)
CIE-LABlab(48.20, 65.64, -64.83)
CIE-LCHlch(48.20, 92.26, 315.35°)
OKLaboklab(58.27% 0.1448 -0.1839)
OKLCHoklch(58.27% 0.234 308.2)
XYZxyz(30.5152, 16.9534, 73.6016)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A241E2 #81E241
analogous
#5241E2 #A241E2 #E241D2
triadic
#A241E2 #E2A241 #41E2A2
tetradic
#A241E2 #E25241 #81E241 #41D2E2
square
#A241E2 #E25241 #81E241 #41D2E2
split-complementary
#A241E2 #D2E241 #41E252
monochromatic
#611692 #841EC7 #A241E2 #BC76EA #D6ABF2

Accessibility & contrast

On white

4.78
#A241E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A241E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A241E2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A241E2#FFFFFF#000000##FFFFFF
##A241E21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0F73DF
Tritanopia (blue-blind)
#98668E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a241e2;
/* rgb */ color: rgb(162, 65, 226);
/* oklch */ color: oklch(58.3% 0.234 308.2);
Tailwind
colors: {
  custom: {
    50: '#c37eec',
    500: '#a241e2',
    950: '#000000',
  },
}
SCSS
$custom: #a241e2;
$custom-light: #c37eec;
$custom-dark: #000000;
JSON
{
  "hex": "#a241e2",
  "rgb": {
    "r": 162,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 276.149,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58266,
    "c": 0.23407,
    "h": 308.2
  },
  "luminance": 0.16953
}

Semantic roles & 50–950 ramp

primary
#A241E2
secondary
#B9E09F
accent
#F03881
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A241E2

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

Preview Lab → · Contrast checker → · Palette generator →

#A241E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva