#6026A2#6026A2

#6026A2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.185 H 299.5°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6026A2
RGBrgb(96, 38, 162)
HSLhsl(268, 62%, 39%)
HSVhsv(268, 77%, 64%)
CMYKcmyk(40.7%, 76.5%, 0%, 36.5%)
CIE-LABlab(30.60, 50.24, -56.39)
CIE-LCHlch(30.60, 75.53, 311.70°)
OKLaboklab(42.44% 0.0913 -0.1612)
OKLCHoklch(42.44% 0.185 299.5)
XYZxyz(12.0369, 6.4815, 34.7923)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6026A2 #68A226
analogous
#262AA2 #6026A2 #9E26A2
triadic
#6026A2 #A26026 #26A260
tetradic
#6026A2 #A2262A #68A226 #26A29E
square
#6026A2 #A2262A #68A226 #26A29E
split-complementary
#6026A2 #A29E26 #2AA226
monochromatic
#250F3F #431A70 #6026A2 #7E35D0 #9D67DB

Accessibility & contrast

On white

9.14
#6026A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6026A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6026A2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6026A2#FFFFFF#000000##FFFFFF
##6026A21.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#504763
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6026a2;
/* rgb */ color: rgb(96, 38, 162);
/* oklch */ color: oklch(42.4% 0.185 299.5);
Tailwind
colors: {
  custom: {
    50: '#9367be',
    500: '#6026a2',
    950: '#000000',
  },
}
SCSS
$custom: #6026a2;
$custom-light: #9367be;
$custom-dark: #000000;
JSON
{
  "hex": "#6026a2",
  "rgb": {
    "r": 96,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 268.065,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.18526,
    "h": 299.5
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#6026A2
secondary
#95C163
accent
#E54399
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6026A2

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

Preview Lab → · Contrast checker → · Palette generator →

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