#6232B9#6232B9

#6232B9 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.198 H 293.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#6232B9
RGBrgb(98, 50, 185)
HSLhsl(261, 57%, 46%)
HSVhsv(261, 73%, 73%)
CMYKcmyk(47%, 73%, 0%, 27.5%)
CIE-LABlab(34.76, 50.99, -63.33)
CIE-LCHlch(34.76, 81.30, 308.84°)
OKLaboklab(46.03% 0.0781 -0.1815)
OKLCHoklch(46.03% 0.198 293.3)
XYZxyz(14.9321, 8.3802, 46.7203)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232B9 #89B932
analogous
#3245B9 #6232B9 #A532B9
triadic
#6232B9 #B96232 #32B962
tetradic
#6232B9 #B93245 #89B932 #32B9A5
square
#6232B9 #B93245 #89B932 #32B9A5
split-complementary
#6232B9 #B9A532 #45B932
monochromatic
#2F1859 #482589 #6232B9 #8257D2 #A687DF

Accessibility & contrast

On white

7.85
#6232B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6232B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232B9
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232B9#FFFFFF#000000##FFFFFF
##6232B91.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#004FB6
Tritanopia (blue-blind)
#485573
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6232b9;
/* rgb */ color: rgb(98, 50, 185);
/* oklch */ color: oklch(46.0% 0.198 293.3);
Tailwind
colors: {
  custom: {
    50: '#976ecf',
    500: '#6232b9',
    950: '#000000',
  },
}
SCSS
$custom: #6232b9;
$custom-light: #976ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6232b9",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 185
  },
  "hsl": {
    "h": 261.333,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46034,
    "c": 0.19763,
    "h": 293.3
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#6232B9
secondary
#AEC87F
accent
#E147AA
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6232B9

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

Preview Lab → · Contrast checker → · Palette generator →

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