#6026AF#6026AF

#6026AF is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.199 H 296.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6026AF
RGBrgb(96, 38, 175)
HSLhsl(265, 64%, 42%)
HSVhsv(265, 78%, 69%)
CMYKcmyk(45.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(31.73, 53.53, -62.35)
CIE-LCHlch(31.73, 82.18, 310.64°)
OKLaboklab(43.59% 0.0878 -0.1787)
OKLCHoklch(43.59% 0.199 296.2)
XYZxyz(13.2528, 6.9679, 41.1958)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6026AF #75AF26
analogous
#2631AF #6026AF #A426AF
triadic
#6026AF #AF6026 #26AF60
tetradic
#6026AF #AF2631 #75AF26 #26AFA4
square
#6026AF #AF2631 #75AF26 #26AFA4
split-complementary
#6026AF #AFA426 #31AF26
monochromatic
#29104A #441B7D #6026AF #7D3DD5 #9F70E0

Accessibility & contrast

On white

8.77
#6026AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6026AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6026AF
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6026AF#FFFFFF#000000##FFFFFF
##6026AF1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#4A4C6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6026af;
/* rgb */ color: rgb(96, 38, 175);
/* oklch */ color: oklch(43.6% 0.199 296.2);
Tailwind
colors: {
  custom: {
    50: '#9567c8',
    500: '#6026af',
    950: '#000000',
  },
}
SCSS
$custom: #6026af;
$custom-light: #9567c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6026af",
  "rgb": {
    "r": 96,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 265.401,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43585,
    "c": 0.19907,
    "h": 296.2
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#6026AF
secondary
#9FC76A
accent
#E740A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6026AF

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

Preview Lab → · Contrast checker → · Palette generator →

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