#6232B1#6232B1

#6232B1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.189 H 295.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#6232B1
RGBrgb(98, 50, 177)
HSLhsl(263, 56%, 45%)
HSVhsv(263, 72%, 69%)
CMYKcmyk(44.6%, 71.8%, 0%, 30.6%)
CIE-LABlab(34.09, 48.85, -59.68)
CIE-LCHlch(34.09, 77.12, 309.30°)
OKLaboklab(45.35% 0.0798 -0.1708)
OKLCHoklch(45.35% 0.189 295)
XYZxyz(14.1113, 8.0518, 42.3971)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232B1 #81B132
analogous
#3242B1 #6232B1 #A232B1
triadic
#6232B1 #B16232 #32B162
tetradic
#6232B1 #B13242 #81B132 #32B1A2
square
#6232B1 #B13242 #81B132 #32B1A2
split-complementary
#6232B1 #B1A232 #42B132
monochromatic
#2D1752 #482581 #6232B1 #8152CE #A482DC

Accessibility & contrast

On white

8.04
#6232B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6232B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232B1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232B1#FFFFFF#000000##FFFFFF
##6232B11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#4C526E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6232b1;
/* rgb */ color: rgb(98, 50, 177);
/* oklch */ color: oklch(45.4% 0.189 295.0);
Tailwind
colors: {
  custom: {
    50: '#966ec9',
    500: '#6232b1',
    950: '#000000',
  },
}
SCSS
$custom: #6232b1;
$custom-light: #966ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#6232b1",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 262.677,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4535,
    "c": 0.18856,
    "h": 295
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#6232B1
secondary
#A9C57A
accent
#DF49A6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6232B1

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

Preview Lab → · Contrast checker → · Palette generator →

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