#6232B3#6232B3

#6232B3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.191 H 294.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6232B3
RGBrgb(98, 50, 179)
HSLhsl(262, 56%, 45%)
HSVhsv(262, 72%, 70%)
CMYKcmyk(45.3%, 72.1%, 0%, 29.8%)
CIE-LABlab(34.26, 49.38, -60.60)
CIE-LCHlch(34.26, 78.17, 309.18°)
OKLaboklab(45.52% 0.0794 -0.1735)
OKLCHoklch(45.52% 0.191 294.6)
XYZxyz(14.3121, 8.1322, 43.4547)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232B3 #83B332
analogous
#3242B3 #6232B3 #A332B3
triadic
#6232B3 #B36232 #32B362
tetradic
#6232B3 #B33242 #83B332 #32B3A3
square
#6232B3 #B33242 #83B332 #32B3A3
split-complementary
#6232B3 #B3A332 #42B332
monochromatic
#2E1753 #482583 #6232B3 #8153CF #A483DC

Accessibility & contrast

On white

8.00
#6232B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6232B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232B3
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232B3#FFFFFF#000000##FFFFFF
##6232B31.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#4B536F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6232b3;
/* rgb */ color: rgb(98, 50, 179);
/* oklch */ color: oklch(45.5% 0.191 294.6);
Tailwind
colors: {
  custom: {
    50: '#966ecb',
    500: '#6232b3',
    950: '#000000',
  },
}
SCSS
$custom: #6232b3;
$custom-light: #966ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6232b3",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 262.326,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4552,
    "c": 0.19084,
    "h": 294.6
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#6232B3
secondary
#AAC67B
accent
#E048A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6232B3

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

Preview Lab → · Contrast checker → · Palette generator →

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