#6232A1#6232A1

#6232A1 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.0% C 0.170 H 299.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6232A1
RGBrgb(98, 50, 161)
HSLhsl(266, 53%, 41%)
HSVhsv(266, 69%, 63%)
CMYKcmyk(39.1%, 68.9%, 0%, 36.9%)
CIE-LABlab(32.81, 44.61, -52.17)
CIE-LCHlch(32.81, 68.64, 310.53°)
OKLaboklab(44.04% 0.0826 -0.1488)
OKLCHoklch(44.04% 0.17 299)
XYZxyz(12.6090, 7.4509, 34.4852)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232A1 #71A132
analogous
#323AA1 #6232A1 #9A32A1
triadic
#6232A1 #A16232 #32A162
tetradic
#6232A1 #A1323A #71A132 #32A19A
square
#6232A1 #A1323A #71A132 #32A19A
split-complementary
#6232A1 #A19A32 #3AA132
monochromatic
#291544 #462372 #6232A1 #804AC7 #A078D5

Accessibility & contrast

On white

8.43
#6232A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6232A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232A1
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232A1#FFFFFF#000000##FFFFFF
##6232A11.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#534C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6232a1;
/* rgb */ color: rgb(98, 50, 161);
/* oklch */ color: oklch(44.0% 0.170 299.0);
Tailwind
colors: {
  custom: {
    50: '#946dbe',
    500: '#6232a1',
    950: '#000000',
  },
}
SCSS
$custom: #6232a1;
$custom-light: #946dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6232a1",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 265.946,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.17016,
    "h": 299
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#6232A1
secondary
#9DBE71
accent
#DC4C9E
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6232A1

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

Preview Lab → · Contrast checker → · Palette generator →

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