#6232AF#6232AF

#6232AF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.186 H 295.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6232AF
RGBrgb(98, 50, 175)
HSLhsl(263, 56%, 44%)
HSVhsv(263, 71%, 69%)
CMYKcmyk(44%, 71.4%, 0%, 31.4%)
CIE-LABlab(33.93, 48.31, -58.76)
CIE-LCHlch(33.93, 76.07, 309.43°)
OKLaboklab(45.18% 0.0802 -0.1681)
OKLCHoklch(45.18% 0.186 295.5)
XYZxyz(13.9134, 7.9727, 41.3550)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232AF #7FAF32
analogous
#3241AF #6232AF #A132AF
triadic
#6232AF #AF6232 #32AF62
tetradic
#6232AF #AF3241 #7FAF32 #32AFA1
square
#6232AF #AF3241 #7FAF32 #32AFA1
split-complementary
#6232AF #AFA132 #41AF32
monochromatic
#2D1750 #47247F #6232AF #8151CD #A381DB

Accessibility & contrast

On white

8.09
#6232AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6232AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232AF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232AF#FFFFFF#000000##FFFFFF
##6232AF1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#4D526D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6232af;
/* rgb */ color: rgb(98, 50, 175);
/* oklch */ color: oklch(45.2% 0.186 295.5);
Tailwind
colors: {
  custom: {
    50: '#956ec8',
    500: '#6232af',
    950: '#000000',
  },
}
SCSS
$custom: #6232af;
$custom-light: #956ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#6232af",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 263.04,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.18628,
    "h": 295.5
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#6232AF
secondary
#A7C479
accent
#DF49A5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6232AF

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

Preview Lab → · Contrast checker → · Palette generator →

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