#6232A0#6232A0

#6232A0 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.169 H 299.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6232A0
RGBrgb(98, 50, 160)
HSLhsl(266, 52%, 41%)
HSVhsv(266, 69%, 63%)
CMYKcmyk(38.8%, 68.8%, 0%, 37.3%)
CIE-LABlab(32.74, 44.35, -51.69)
CIE-LCHlch(32.74, 68.11, 310.63°)
OKLaboklab(43.96% 0.0828 -0.1473)
OKLCHoklch(43.96% 0.169 299.3)
XYZxyz(12.5212, 7.4158, 34.0226)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232A0 #70A032
analogous
#3239A0 #6232A0 #9932A0
triadic
#6232A0 #A06232 #32A062
tetradic
#6232A0 #A03239 #70A032 #32A099
square
#6232A0 #A03239 #70A032 #32A099
split-complementary
#6232A0 #A09932 #39A032
monochromatic
#291543 #452371 #6232A0 #8049C6 #A078D5

Accessibility & contrast

On white

8.46
#6232A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6232A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232A0
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232A0#FFFFFF#000000##FFFFFF
##6232A01.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#544C65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6232a0;
/* rgb */ color: rgb(98, 50, 160);
/* oklch */ color: oklch(44.0% 0.169 299.3);
Tailwind
colors: {
  custom: {
    50: '#946dbd',
    500: '#6232a0',
    950: '#000000',
  },
}
SCSS
$custom: #6232a0;
$custom-light: #946dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#6232a0",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 160
  },
  "hsl": {
    "h": 266.182,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43961,
    "c": 0.16901,
    "h": 299.3
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#6232A0
secondary
#9CBD71
accent
#DC4C9D
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6232A0

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

Preview Lab → · Contrast checker → · Palette generator →

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