#6232A5#6232A5

#6232A5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.175 H 298.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6232A5
RGBrgb(98, 50, 165)
HSLhsl(265, 53%, 42%)
HSVhsv(265, 70%, 65%)
CMYKcmyk(40.6%, 69.7%, 0%, 35.3%)
CIE-LABlab(33.12, 45.66, -54.08)
CIE-LCHlch(33.12, 70.78, 310.18°)
OKLaboklab(44.36% 0.082 -0.1544)
OKLCHoklch(44.36% 0.175 298)
XYZxyz(12.9674, 7.5943, 36.3727)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232A5 #75A532
analogous
#323CA5 #6232A5 #9B32A5
triadic
#6232A5 #A56232 #32A562
tetradic
#6232A5 #A5323C #75A532 #32A59B
square
#6232A5 #A5323C #75A532 #32A59B
split-complementary
#6232A5 #A59B32 #3CA532
monochromatic
#2A1647 #462476 #6232A5 #804CC9 #A17BD7

Accessibility & contrast

On white

8.34
#6232A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6232A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232A5
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232A5#FFFFFF#000000##FFFFFF
##6232A51.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#524E67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6232a5;
/* rgb */ color: rgb(98, 50, 165);
/* oklch */ color: oklch(44.4% 0.175 298.0);
Tailwind
colors: {
  custom: {
    50: '#946ec1',
    500: '#6232a5',
    950: '#000000',
  },
}
SCSS
$custom: #6232a5;
$custom-light: #946ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#6232a5",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 265.043,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4436,
    "c": 0.1748,
    "h": 298
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#6232A5
secondary
#A0BF73
accent
#DD4BA0
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6232A5

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

Preview Lab → · Contrast checker → · Palette generator →

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