#6233A4#6233A4

#6233A4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.4% C 0.172 H 298.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6233A4
RGBrgb(98, 51, 164)
HSLhsl(265, 53%, 42%)
HSVhsv(265, 69%, 64%)
CMYKcmyk(40.2%, 68.9%, 0%, 35.7%)
CIE-LABlab(33.23, 44.88, -53.30)
CIE-LCHlch(33.23, 69.68, 310.10°)
OKLaboklab(44.41% 0.0811 -0.1521)
OKLCHoklch(44.41% 0.172 298.1)
XYZxyz(12.9200, 7.6445, 35.9096)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6233A4 #75A433
analogous
#333CA4 #6233A4 #9B33A4
triadic
#6233A4 #A46233 #33A462
tetradic
#6233A4 #A4333C #75A433 #33A49B
square
#6233A4 #A4333C #75A433 #33A49B
split-complementary
#6233A4 #A49B33 #3CA433
monochromatic
#2A1647 #462475 #6233A4 #804DC8 #A17BD6

Accessibility & contrast

On white

8.30
#6233A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6233A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6233A4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6233A4#FFFFFF#000000##FFFFFF
##6233A41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6233a4;
/* rgb */ color: rgb(98, 51, 164);
/* oklch */ color: oklch(44.4% 0.172 298.1);
Tailwind
colors: {
  custom: {
    50: '#946ec0',
    500: '#6233a4',
    950: '#000000',
  },
}
SCSS
$custom: #6233a4;
$custom-light: #946ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6233a4",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 264.956,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.17236,
    "h": 298.1
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#6233A4
secondary
#A0BF74
accent
#DC4CA0
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6233A4

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

Preview Lab → · Contrast checker → · Palette generator →

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