#6233B1#6233B1

#6233B1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.187 H 294.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6233B1
RGBrgb(98, 51, 177)
HSLhsl(262, 55%, 45%)
HSVhsv(262, 71%, 69%)
CMYKcmyk(44.6%, 71.2%, 0%, 30.6%)
CIE-LABlab(34.27, 48.35, -59.39)
CIE-LCHlch(34.27, 76.58, 309.15°)
OKLaboklab(45.48% 0.0789 -0.17)
OKLCHoklch(45.48% 0.187 294.9)
XYZxyz(14.1545, 8.1383, 42.4115)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233B1 #82B133
analogous
#3343B1 #6233B1 #A133B1
triadic
#6233B1 #B16233 #33B162
tetradic
#6233B1 #B13343 #82B133 #33B1A1
square
#6233B1 #B13343 #82B133 #33B1A1
split-complementary
#6233B1 #B1A133 #43B133
monochromatic
#2D1852 #482581 #6233B1 #8154CE #A483DB

Accessibility & contrast

On white

7.99
#6233B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6233B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6233B1
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6233B1#FFFFFF#000000##FFFFFF
##6233B11.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#4C536E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6233b1;
/* rgb */ color: rgb(98, 51, 177);
/* oklch */ color: oklch(45.5% 0.187 294.9);
Tailwind
colors: {
  custom: {
    50: '#966fc9',
    500: '#6233b1',
    950: '#000000',
  },
}
SCSS
$custom: #6233b1;
$custom-light: #966fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6233b1",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 262.381,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.18739,
    "h": 294.9
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#6233B1
secondary
#A9C57B
accent
#DF49A7
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6233B1

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

Preview Lab → · Contrast checker → · Palette generator →

#6233B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva