#6233B2#6233B2

#6233B2 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.189 H 294.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6233B2
RGBrgb(98, 51, 178)
HSLhsl(262, 55%, 45%)
HSVhsv(262, 71%, 70%)
CMYKcmyk(44.9%, 71.3%, 0%, 30.2%)
CIE-LABlab(34.35, 48.62, -59.85)
CIE-LCHlch(34.35, 77.11, 309.09°)
OKLaboklab(45.56% 0.0787 -0.1713)
OKLCHoklch(45.56% 0.189 294.7)
XYZxyz(14.2545, 8.1783, 42.9384)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233B2 #83B233
analogous
#3343B2 #6233B2 #A233B2
triadic
#6233B2 #B26233 #33B262
tetradic
#6233B2 #B23343 #83B233 #33B2A2
square
#6233B2 #B23343 #83B233 #33B2A2
split-complementary
#6233B2 #B2A233 #43B233
monochromatic
#2E1853 #482582 #6233B2 #8154CE #A484DC

Accessibility & contrast

On white

7.97
#6233B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6233B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6233B2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6233B2#FFFFFF#000000##FFFFFF
##6233B21.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#4B536F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6233b2;
/* rgb */ color: rgb(98, 51, 178);
/* oklch */ color: oklch(45.6% 0.189 294.7);
Tailwind
colors: {
  custom: {
    50: '#966fca',
    500: '#6233b2',
    950: '#000000',
  },
}
SCSS
$custom: #6233b2;
$custom-light: #966fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6233b2",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 262.205,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.18854,
    "h": 294.7
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6233B2

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

Preview Lab → · Contrast checker → · Palette generator →

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