#6232A2#6232A2

#6232A2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.171 H 298.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#6232A2
RGBrgb(98, 50, 162)
HSLhsl(266, 53%, 42%)
HSVhsv(266, 69%, 64%)
CMYKcmyk(39.5%, 69.1%, 0%, 36.5%)
CIE-LABlab(32.89, 44.87, -52.65)
CIE-LCHlch(32.89, 69.18, 310.44°)
OKLaboklab(44.12% 0.0825 -0.1502)
OKLCHoklch(44.12% 0.171 298.8)
XYZxyz(12.6975, 7.4863, 34.9514)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232A2 #72A232
analogous
#323AA2 #6232A2 #9A32A2
triadic
#6232A2 #A26232 #32A262
tetradic
#6232A2 #A2323A #72A232 #32A29A
square
#6232A2 #A2323A #72A232 #32A29A
split-complementary
#6232A2 #A29A32 #3AA232
monochromatic
#291544 #462473 #6232A2 #804AC7 #A179D6

Accessibility & contrast

On white

8.41
#6232A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6232A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232A2
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232A2#FFFFFF#000000##FFFFFF
##6232A21.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#534D66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6232a2;
/* rgb */ color: rgb(98, 50, 162);
/* oklch */ color: oklch(44.1% 0.171 298.8);
Tailwind
colors: {
  custom: {
    50: '#946dbe',
    500: '#6232a2',
    950: '#000000',
  },
}
SCSS
$custom: #6232a2;
$custom-light: #946dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6232a2",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 265.714,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44119,
    "c": 0.17133,
    "h": 298.8
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#6232A2
secondary
#9DBE72
accent
#DC4C9E
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6232A2

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

Preview Lab → · Contrast checker → · Palette generator →

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