#6632AF#6632AF

#6632AF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.187 H 297.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6632AF
RGBrgb(102, 50, 175)
HSLhsl(265, 56%, 44%)
HSVhsv(265, 71%, 69%)
CMYKcmyk(41.7%, 71.4%, 0%, 31.4%)
CIE-LABlab(34.40, 49.05, -57.97)
CIE-LCHlch(34.40, 75.93, 310.23°)
OKLaboklab(45.62% 0.086 -0.1657)
OKLCHoklch(45.62% 0.187 297.4)
XYZxyz(14.3559, 8.2009, 41.3757)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6632AF #7BAF32
analogous
#323DAF #6632AF #A532AF
triadic
#6632AF #AF6632 #32AF66
tetradic
#6632AF #AF323D #7BAF32 #32AFA5
square
#6632AF #AF323D #7BAF32 #32AFA5
split-complementary
#6632AF #AFA532 #3DAF32
monochromatic
#2F1750 #4A247F #6632AF #8551CD #A681DB

Accessibility & contrast

On white

7.95
#6632AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6632AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6632AF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6632AF#FFFFFF#000000##FFFFFF
##6632AF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#54516D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6632af;
/* rgb */ color: rgb(102, 50, 175);
/* oklch */ color: oklch(45.6% 0.187 297.4);
Tailwind
colors: {
  custom: {
    50: '#986ec8',
    500: '#6632af',
    950: '#000000',
  },
}
SCSS
$custom: #6632af;
$custom-light: #986ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6632af",
  "rgb": {
    "r": 102,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 264.96,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45624,
    "c": 0.18667,
    "h": 297.4
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#6632AF
secondary
#A5C479
accent
#DF49A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6632AF

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

Preview Lab → · Contrast checker → · Palette generator →

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