#6232A4#6232A4

#6232A4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.174 H 298.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6232A4
RGBrgb(98, 50, 164)
HSLhsl(265, 53%, 42%)
HSVhsv(265, 70%, 64%)
CMYKcmyk(40.2%, 69.5%, 0%, 35.7%)
CIE-LABlab(33.04, 45.40, -53.60)
CIE-LCHlch(33.04, 70.24, 310.26°)
OKLaboklab(44.28% 0.0822 -0.153)
OKLCHoklch(44.28% 0.174 298.2)
XYZxyz(12.8767, 7.5580, 35.8952)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232A4 #74A432
analogous
#323BA4 #6232A4 #9B32A4
triadic
#6232A4 #A46232 #32A462
tetradic
#6232A4 #A4323B #74A432 #32A49B
square
#6232A4 #A4323B #74A432 #32A49B
split-complementary
#6232A4 #A49B32 #3BA432
monochromatic
#2A1546 #462475 #6232A4 #804BC8 #A17AD6

Accessibility & contrast

On white

8.36
#6232A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6232A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232A4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232A4#FFFFFF#000000##FFFFFF
##6232A41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#524D67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6232a4;
/* rgb */ color: rgb(98, 50, 164);
/* oklch */ color: oklch(44.3% 0.174 298.2);
Tailwind
colors: {
  custom: {
    50: '#946ec0',
    500: '#6232a4',
    950: '#000000',
  },
}
SCSS
$custom: #6232a4;
$custom-light: #946ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6232a4",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 164
  },
  "hsl": {
    "h": 265.263,
    "s": 53.271,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44279,
    "c": 0.17364,
    "h": 298.2
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#6232A4
secondary
#9FBF73
accent
#DD4B9F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6232A4

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

Preview Lab → · Contrast checker → · Palette generator →

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