#6232AB#6232AB

#6232AB is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.182 H 296.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6232AB
RGBrgb(98, 50, 171)
HSLhsl(264, 55%, 43%)
HSVhsv(264, 71%, 67%)
CMYKcmyk(42.7%, 70.8%, 0%, 32.9%)
CIE-LABlab(33.60, 47.25, -56.90)
CIE-LCHlch(33.60, 73.96, 309.71°)
OKLaboklab(44.85% 0.081 -0.1627)
OKLCHoklch(44.85% 0.182 296.5)
XYZxyz(13.5264, 7.8179, 39.3165)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232AB #7BAB32
analogous
#323EAB #6232AB #9E32AB
triadic
#6232AB #AB6232 #32AB62
tetradic
#6232AB #AB323E #7BAB32 #32AB9E
square
#6232AB #AB323E #7BAB32 #32AB9E
split-complementary
#6232AB #AB9E32 #3EAB32
monochromatic
#2C164C #47247C #6232AB #804FCB #A27ED9

Accessibility & contrast

On white

8.19
#6232AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6232AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232AB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232AB#FFFFFF#000000##FFFFFF
##6232AB1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#4F506B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6232ab;
/* rgb */ color: rgb(98, 50, 171);
/* oklch */ color: oklch(44.9% 0.182 296.5);
Tailwind
colors: {
  custom: {
    50: '#956ec5',
    500: '#6232ab',
    950: '#000000',
  },
}
SCSS
$custom: #6232ab;
$custom-light: #956ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#6232ab",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 263.802,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.1817,
    "h": 296.5
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#6232AB
secondary
#A4C277
accent
#DE4AA3
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6232AB

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

Preview Lab → · Contrast checker → · Palette generator →

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