#6232BF#6232BF

#6232BF is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.204 H 292.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6232BF
RGBrgb(98, 50, 191)
HSLhsl(260, 59%, 47%)
HSVhsv(260, 74%, 75%)
CMYKcmyk(48.7%, 73.8%, 0%, 25.1%)
CIE-LABlab(35.28, 52.60, -66.02)
CIE-LCHlch(35.28, 84.41, 308.55°)
OKLaboklab(46.56% 0.0767 -0.1894)
OKLCHoklch(46.56% 0.204 292)
XYZxyz(15.5789, 8.6389, 50.1267)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6232BF #8FBF32
analogous
#3248BF #6232BF #A932BF
triadic
#6232BF #BF6232 #32BF62
tetradic
#6232BF #BF3248 #8FBF32 #32BFA9
square
#6232BF #BF3248 #8FBF32 #32BFA9
split-complementary
#6232BF #BFA932 #48BF32
monochromatic
#30195E #49258E #6232BF #845AD4 #A88BE1

Accessibility & contrast

On white

7.70
#6232BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6232BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6232BF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6232BF#FFFFFF#000000##FFFFFF
##6232BF1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#445876
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6232bf;
/* rgb */ color: rgb(98, 50, 191);
/* oklch */ color: oklch(46.6% 0.204 292.0);
Tailwind
colors: {
  custom: {
    50: '#976fd3',
    500: '#6232bf',
    950: '#000000',
  },
}
SCSS
$custom: #6232bf;
$custom-light: #976fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6232bf",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 260.426,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.20438,
    "h": 292
  },
  "luminance": 0.08639
}

Semantic roles & 50–950 ramp

primary
#6232BF
secondary
#B2CB82
accent
#E246AD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6232BF

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

Preview Lab → · Contrast checker → · Palette generator →

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