#6046AF#6046AF

#6046AF is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.9% C 0.160 H 290.5°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6046AF
RGBrgb(96, 70, 175)
HSLhsl(255, 43%, 48%)
HSVhsv(255, 60%, 69%)
CMYKcmyk(45.1%, 60%, 0%, 31.4%)
CIE-LABlab(37.77, 36.91, -52.52)
CIE-LCHlch(37.77, 64.19, 305.10°)
OKLaboklab(47.91% 0.056 -0.1499)
OKLCHoklch(47.91% 0.16 290.5)
XYZxyz(14.7497, 9.9617, 41.6948)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046AF #95AF46
analogous
#4660AF #6046AF #9446AF
triadic
#6046AF #AF6046 #46AF60
tetradic
#6046AF #AF4660 #95AF46 #46AF94
square
#6046AF #AF4660 #95AF46 #46AF94
split-complementary
#6046AF #AF9446 #60AF46
monochromatic
#302358 #483583 #6046AF #836DC5 #A899D6

Accessibility & contrast

On white

7.02
#6046AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6046AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6046AF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046AF#FFFFFF#000000##FFFFFF
##6046AF1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6046af;
/* rgb */ color: rgb(96, 70, 175);
/* oklch */ color: oklch(47.9% 0.160 290.5);
Tailwind
colors: {
  custom: {
    50: '#937ac8',
    500: '#6046af',
    950: '#000000',
  },
}
SCSS
$custom: #6046af;
$custom-light: #937ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#6046af",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 254.857,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.16,
    "h": 290.5
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#6046AF
secondary
#B6C28E
accent
#D355B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6046AF

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

Preview Lab → · Contrast checker → · Palette generator →

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