#6232A7#6232A7

#6232A7 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.5% C 0.177 H 297.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6232A7
RGBrgb(98, 50, 167)
HSLhsl(265, 54%, 43%)
HSVhsv(265, 70%, 65%)
CMYKcmyk(41.3%, 70.1%, 0%, 34.5%)
CIE-LABlab(33.28, 46.19, -55.02)
CIE-LCHlch(33.28, 71.84, 310.01°)
OKLaboklab(44.52% 0.0817 -0.1572)
OKLCHoklch(44.52% 0.177 297.5)
XYZxyz(13.1509, 7.6677, 37.3389)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232A7 #77A732
analogous
#323DA7 #6232A7 #9C32A7
triadic
#6232A7 #A76232 #32A762
tetradic
#6232A7 #A7323D #77A732 #32A79C
square
#6232A7 #A7323D #77A732 #32A79C
split-complementary
#6232A7 #A79C32 #3DA732
monochromatic
#2B1649 #462478 #6232A7 #804DCA #A17CD8

Accessibility & contrast

On white

8.29
#6232A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6232A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232A7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232A7#FFFFFF#000000##FFFFFF
##6232A71.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#514E69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6232a7;
/* rgb */ color: rgb(98, 50, 167);
/* oklch */ color: oklch(44.5% 0.177 297.5);
Tailwind
colors: {
  custom: {
    50: '#956ec2',
    500: '#6232a7',
    950: '#000000',
  },
}
SCSS
$custom: #6232a7;
$custom-light: #956ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#6232a7",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 264.615,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.1771,
    "h": 297.5
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#6232A7
secondary
#A1C074
accent
#DD4BA1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6232A7

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

Preview Lab → · Contrast checker → · Palette generator →

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