#6041AF#6041AF

#6041AF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.1% C 0.167 H 291.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6041AF
RGBrgb(96, 65, 175)
HSLhsl(257, 46%, 47%)
HSVhsv(257, 63%, 69%)
CMYKcmyk(45.1%, 62.9%, 0%, 31.4%)
CIE-LABlab(36.67, 39.82, -54.30)
CIE-LCHlch(36.67, 67.34, 306.25°)
OKLaboklab(47.11% 0.0617 -0.1551)
OKLCHoklch(47.11% 0.167 291.7)
XYZxyz(14.4499, 9.3621, 41.5948)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6041AF #90AF41
analogous
#4159AF #6041AF #9741AF
triadic
#6041AF #AF6041 #41AF60
tetradic
#6041AF #AF4159 #90AF41 #41AF97
square
#6041AF #AF4159 #90AF41 #41AF97
split-complementary
#6041AF #AF9741 #59AF41
monochromatic
#2F2056 #483082 #6041AF #8267C6 #A693D7

Accessibility & contrast

On white

7.31
#6041AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6041AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6041AF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6041AF#FFFFFF#000000##FFFFFF
##6041AF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#495A72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6041af;
/* rgb */ color: rgb(96, 65, 175);
/* oklch */ color: oklch(47.1% 0.167 291.7);
Tailwind
colors: {
  custom: {
    50: '#9377c8',
    500: '#6041af',
    950: '#000000',
  },
}
SCSS
$custom: #6041af;
$custom-light: #9377c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6041af",
  "rgb": {
    "r": 96,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 256.909,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47106,
    "c": 0.16694,
    "h": 291.7
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#6041AF
secondary
#B2C289
accent
#D552B1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6041AF

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

Preview Lab → · Contrast checker → · Palette generator →

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