#6234C6#6234C6

#6234C6 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.210 H 290.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6234C6
RGBrgb(98, 52, 198)
HSLhsl(259, 58%, 49%)
HSVhsv(259, 74%, 78%)
CMYKcmyk(50.5%, 73.7%, 0%, 22.4%)
CIE-LABlab(36.23, 53.53, -68.56)
CIE-LCHlch(36.23, 86.98, 307.98°)
OKLaboklab(47.42% 0.0734 -0.1969)
OKLCHoklch(47.42% 0.21 290.4)
XYZxyz(16.4551, 9.1292, 54.3102)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6234C6 #98C634
analogous
#344FC6 #6234C6 #AB34C6
triadic
#6234C6 #C66234 #34C662
tetradic
#6234C6 #C6344F #98C634 #34C6AB
square
#6234C6 #C6344F #98C634 #34C6AB
split-complementary
#6234C6 #C6AB34 #4FC634
monochromatic
#321B65 #4A2796 #6234C6 #8662D6 #AB92E2

Accessibility & contrast

On white

7.43
#6234C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6234C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6234C6
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6234C6#FFFFFF#000000##FFFFFF
##6234C61.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#3F5B7A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6234c6;
/* rgb */ color: rgb(98, 52, 198);
/* oklch */ color: oklch(47.4% 0.210 290.4);
Tailwind
colors: {
  custom: {
    50: '#9870d8',
    500: '#6234c6',
    950: '#000000',
  },
}
SCSS
$custom: #6234c6;
$custom-light: #9870d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6234c6",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 198
  },
  "hsl": {
    "h": 258.904,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.21012,
    "h": 290.4
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#6234C6
secondary
#B8CD89
accent
#E246B1
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6234C6

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

Preview Lab → · Contrast checker → · Palette generator →

#6234C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva