#6232B7#6232B7

#6232B7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.195 H 293.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#6232B7
RGBrgb(98, 50, 183)
HSLhsl(262, 57%, 46%)
HSVhsv(262, 73%, 72%)
CMYKcmyk(46.4%, 72.7%, 0%, 28.2%)
CIE-LABlab(34.59, 50.45, -62.42)
CIE-LCHlch(34.59, 80.26, 308.95°)
OKLaboklab(45.86% 0.0785 -0.1789)
OKLCHoklch(45.86% 0.195 293.7)
XYZxyz(14.7225, 8.2963, 45.6162)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232B7 #87B732
analogous
#3244B7 #6232B7 #A432B7
triadic
#6232B7 #B76232 #32B762
tetradic
#6232B7 #B73244 #87B732 #32B7A4
square
#6232B7 #B73244 #87B732 #32B7A4
split-complementary
#6232B7 #B7A432 #44B732
monochromatic
#2F1857 #482587 #6232B7 #8256D1 #A586DE

Accessibility & contrast

On white

7.90
#6232B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6232B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232B7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232B7#FFFFFF#000000##FFFFFF
##6232B71.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#495571
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6232b7;
/* rgb */ color: rgb(98, 50, 183);
/* oklch */ color: oklch(45.9% 0.195 293.7);
Tailwind
colors: {
  custom: {
    50: '#966ece',
    500: '#6232b7',
    950: '#000000',
  },
}
SCSS
$custom: #6232b7;
$custom-light: #966ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6232b7",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 261.654,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45861,
    "c": 0.19537,
    "h": 293.7
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#6232B7
secondary
#ADC77D
accent
#E047A9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6232B7

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

Preview Lab → · Contrast checker → · Palette generator →

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