#6026A5#6026A5

#6026A5 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.188 H 298.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6026A5
RGBrgb(96, 38, 165)
HSLhsl(267, 63%, 40%)
HSVhsv(267, 77%, 65%)
CMYKcmyk(41.8%, 77%, 0%, 35.3%)
CIE-LABlab(30.85, 51.00, -57.79)
CIE-LCHlch(30.85, 77.07, 311.43°)
OKLaboklab(42.7% 0.0906 -0.1653)
OKLCHoklch(42.7% 0.188 298.7)
XYZxyz(12.3068, 6.5895, 36.2135)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6026A5 #6BA526
analogous
#262BA5 #6026A5 #A026A5
triadic
#6026A5 #A56026 #26A560
tetradic
#6026A5 #A5262B #6BA526 #26A5A0
square
#6026A5 #A5262B #6BA526 #26A5A0
split-complementary
#6026A5 #A5A026 #2BA526
monochromatic
#260F42 #431B73 #6026A5 #7D37D1 #9E69DC

Accessibility & contrast

On white

9.06
#6026A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6026A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6026A5
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6026A5#FFFFFF#000000##FFFFFF
##6026A51.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#4F4864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6026a5;
/* rgb */ color: rgb(96, 38, 165);
/* oklch */ color: oklch(42.7% 0.188 298.7);
Tailwind
colors: {
  custom: {
    50: '#9467c1',
    500: '#6026a5',
    950: '#000000',
  },
}
SCSS
$custom: #6026a5;
$custom-light: #9467c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6026a5",
  "rgb": {
    "r": 96,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 267.402,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.18846,
    "h": 298.7
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#6026A5
secondary
#97C364
accent
#E6429B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6026A5

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

Preview Lab → · Contrast checker → · Palette generator →

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