#6626AF#6626AF

#6626AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.3% C 0.200 H 299.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6626AF
RGBrgb(102, 38, 175)
HSLhsl(268, 64%, 42%)
HSVhsv(268, 78%, 69%)
CMYKcmyk(41.7%, 78.3%, 0%, 31.4%)
CIE-LABlab(32.49, 54.46, -61.08)
CIE-LCHlch(32.49, 81.83, 311.72°)
OKLaboklab(44.28% 0.0968 -0.1747)
OKLCHoklch(44.28% 0.2 299)
XYZxyz(13.9085, 7.3060, 41.2265)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6626AF #6FAF26
analogous
#262BAF #6626AF #AB26AF
triadic
#6626AF #AF6626 #26AF66
tetradic
#6626AF #AF262B #6FAF26 #26AFAB
square
#6626AF #AF262B #6FAF26 #26AFAB
split-complementary
#6626AF #AFAB26 #2BAF26
monochromatic
#2B104A #491B7D #6626AF #843DD5 #A470E0

Accessibility & contrast

On white

8.53
#6626AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6626AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6626AF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6626AF#FFFFFF#000000##FFFFFF
##6626AF1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#544B6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6626af;
/* rgb */ color: rgb(102, 38, 175);
/* oklch */ color: oklch(44.3% 0.200 299.0);
Tailwind
colors: {
  custom: {
    50: '#9968c8',
    500: '#6626af',
    950: '#000000',
  },
}
SCSS
$custom: #6626af;
$custom-light: #9968c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6626af",
  "rgb": {
    "r": 102,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 268.029,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.19975,
    "h": 299
  },
  "luminance": 0.07306
}

Semantic roles & 50–950 ramp

primary
#6626AF
secondary
#9BC76A
accent
#E74099
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6626AF

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

Preview Lab → · Contrast checker → · Palette generator →

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