#6232B6#6232B6

#6232B6 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.194 H 293.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6232B6
RGBrgb(98, 50, 182)
HSLhsl(262, 57%, 45%)
HSVhsv(262, 73%, 71%)
CMYKcmyk(46.2%, 72.5%, 0%, 28.6%)
CIE-LABlab(34.51, 50.19, -61.97)
CIE-LCHlch(34.51, 79.74, 309.00°)
OKLaboklab(45.78% 0.0788 -0.1776)
OKLCHoklch(45.78% 0.194 293.9)
XYZxyz(14.6188, 8.2548, 45.0700)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232B6 #86B632
analogous
#3244B6 #6232B6 #A432B6
triadic
#6232B6 #B66232 #32B662
tetradic
#6232B6 #B63244 #86B632 #32B6A4
square
#6232B6 #B63244 #86B632 #32B6A4
split-complementary
#6232B6 #B6A432 #44B632
monochromatic
#2E1856 #482586 #6232B6 #8255D0 #A585DD

Accessibility & contrast

On white

7.92
#6232B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6232B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232B6
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232B6#FFFFFF#000000##FFFFFF
##6232B61.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#495471
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6232b6;
/* rgb */ color: rgb(98, 50, 182);
/* oklch */ color: oklch(45.8% 0.194 293.9);
Tailwind
colors: {
  custom: {
    50: '#966ecd',
    500: '#6232b6',
    950: '#000000',
  },
}
SCSS
$custom: #6232b6;
$custom-light: #966ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6232b6",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 261.818,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.19424,
    "h": 293.9
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#6232B6
secondary
#ACC77D
accent
#E048A9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #6232B6

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

Preview Lab → · Contrast checker → · Palette generator →

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