#6232B4#6232B4

#6232B4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.192 H 294.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6232B4
RGBrgb(98, 50, 180)
HSLhsl(262, 57%, 45%)
HSVhsv(262, 72%, 71%)
CMYKcmyk(45.6%, 72.2%, 0%, 29.4%)
CIE-LABlab(34.34, 49.65, -61.06)
CIE-LCHlch(34.34, 78.70, 309.12°)
OKLaboklab(45.61% 0.0792 -0.1749)
OKLCHoklch(45.61% 0.192 294.4)
XYZxyz(14.4136, 8.1728, 43.9892)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232B4 #84B432
analogous
#3243B4 #6232B4 #A332B4
triadic
#6232B4 #B46232 #32B462
tetradic
#6232B4 #B43243 #84B432 #32B4A3
square
#6232B4 #B43243 #84B432 #32B4A3
split-complementary
#6232B4 #B4A332 #43B432
monochromatic
#2E1754 #482584 #6232B4 #8154CF #A584DD

Accessibility & contrast

On white

7.97
#6232B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6232B4
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232B4#FFFFFF#000000##FFFFFF
##6232B41.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#4A5370
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6232b4;
/* rgb */ color: rgb(98, 50, 180);
/* oklch */ color: oklch(45.6% 0.192 294.4);
Tailwind
colors: {
  custom: {
    50: '#966ecb',
    500: '#6232b4',
    950: '#000000',
  },
}
SCSS
$custom: #6232b4;
$custom-light: #966ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6232b4",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 262.154,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45605,
    "c": 0.19197,
    "h": 294.4
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#6232B4
secondary
#ABC67C
accent
#E048A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6232B4

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

Preview Lab → · Contrast checker → · Palette generator →

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