#6232A3#6232A3

#6232A3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.172 H 298.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6232A3
RGBrgb(98, 50, 163)
HSLhsl(265, 53%, 42%)
HSVhsv(265, 69%, 64%)
CMYKcmyk(39.9%, 69.3%, 0%, 36.1%)
CIE-LABlab(32.97, 45.14, -53.13)
CIE-LCHlch(32.97, 69.71, 310.35°)
OKLaboklab(44.2% 0.0823 -0.1516)
OKLCHoklch(44.2% 0.172 298.5)
XYZxyz(12.7868, 7.5220, 35.4215)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232A3 #73A332
analogous
#323AA3 #6232A3 #9B32A3
triadic
#6232A3 #A36232 #32A362
tetradic
#6232A3 #A3323A #73A332 #32A39B
square
#6232A3 #A3323A #73A332 #32A39B
split-complementary
#6232A3 #A39B32 #3AA332
monochromatic
#2A1545 #462474 #6232A3 #804BC8 #A179D6

Accessibility & contrast

On white

8.39
#6232A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6232A3
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232A3#FFFFFF#000000##FFFFFF
##6232A31.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#524D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6232a3;
/* rgb */ color: rgb(98, 50, 163);
/* oklch */ color: oklch(44.2% 0.172 298.5);
Tailwind
colors: {
  custom: {
    50: '#946ebf',
    500: '#6232a3',
    950: '#000000',
  },
}
SCSS
$custom: #6232a3;
$custom-light: #946ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#6232a3",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 163
  },
  "hsl": {
    "h": 265.487,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44199,
    "c": 0.17248,
    "h": 298.5
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#6232A3
secondary
#9EBF72
accent
#DC4B9F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6232A3

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

Preview Lab → · Contrast checker → · Palette generator →

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