#6232B5#6232B5

#6232B5 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.193 H 294.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6232B5
RGBrgb(98, 50, 181)
HSLhsl(262, 57%, 45%)
HSVhsv(262, 72%, 71%)
CMYKcmyk(45.9%, 72.4%, 0%, 29%)
CIE-LABlab(34.42, 49.92, -61.51)
CIE-LCHlch(34.42, 79.22, 309.06°)
OKLaboklab(45.69% 0.079 -0.1762)
OKLCHoklch(45.69% 0.193 294.1)
XYZxyz(14.5158, 8.2137, 44.5277)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232B5 #85B532
analogous
#3243B5 #6232B5 #A432B5
triadic
#6232B5 #B56232 #32B562
tetradic
#6232B5 #B53243 #85B532 #32B5A4
square
#6232B5 #B53243 #85B532 #32B5A4
split-complementary
#6232B5 #B5A432 #43B532
monochromatic
#2E1855 #482585 #6232B5 #8254D0 #A584DD

Accessibility & contrast

On white

7.95
#6232B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6232B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232B5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232B5#FFFFFF#000000##FFFFFF
##6232B51.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#4A5470
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6232b5;
/* rgb */ color: rgb(98, 50, 181);
/* oklch */ color: oklch(45.7% 0.193 294.1);
Tailwind
colors: {
  custom: {
    50: '#966ecc',
    500: '#6232b5',
    950: '#000000',
  },
}
SCSS
$custom: #6232b5;
$custom-light: #966ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#6232b5",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 261.985,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4569,
    "c": 0.19311,
    "h": 294.1
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6232B5

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

Preview Lab → · Contrast checker → · Palette generator →

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