#6232AD#6232AD

#6232AD is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.184 H 296.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#6232AD
RGBrgb(98, 50, 173)
HSLhsl(263, 55%, 44%)
HSVhsv(263, 71%, 68%)
CMYKcmyk(43.4%, 71.1%, 0%, 32.2%)
CIE-LABlab(33.76, 47.78, -57.83)
CIE-LCHlch(33.76, 75.02, 309.56°)
OKLaboklab(45.02% 0.0806 -0.1654)
OKLCHoklch(45.02% 0.184 296)
XYZxyz(13.7184, 7.8947, 40.3281)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232AD #7DAD32
analogous
#323FAD #6232AD #9F32AD
triadic
#6232AD #AD6232 #32AD62
tetradic
#6232AD #AD323F #7DAD32 #32AD9F
square
#6232AD #AD323F #7DAD32 #32AD9F
split-complementary
#6232AD #AD9F32 #3FAD32
monochromatic
#2C174E #47247E #6232AD #8050CC #A37FDA

Accessibility & contrast

On white

8.14
#6232AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6232AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232AD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232AD#FFFFFF#000000##FFFFFF
##6232AD1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#4E516C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6232ad;
/* rgb */ color: rgb(98, 50, 173);
/* oklch */ color: oklch(45.0% 0.184 296.0);
Tailwind
colors: {
  custom: {
    50: '#956ec6',
    500: '#6232ad',
    950: '#000000',
  },
}
SCSS
$custom: #6232ad;
$custom-light: #956ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6232ad",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 263.415,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.184,
    "h": 296
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#6232AD
secondary
#A6C378
accent
#DE49A4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6232AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6232AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva