#6234BD#6234BD

#6234BD is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.200 H 292.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6234BD
RGBrgb(98, 52, 189)
HSLhsl(260, 57%, 47%)
HSVhsv(260, 72%, 74%)
CMYKcmyk(48.1%, 72.5%, 0%, 25.9%)
CIE-LABlab(35.45, 51.09, -64.56)
CIE-LCHlch(35.45, 82.33, 308.36°)
OKLaboklab(46.63% 0.0754 -0.1852)
OKLCHoklch(46.63% 0.2 292.2)
XYZxyz(15.4477, 8.7262, 49.0046)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6234BD #8FBD34
analogous
#344BBD #6234BD #A634BD
triadic
#6234BD #BD6234 #34BD62
tetradic
#6234BD #BD344B #8FBD34 #34BDA6
square
#6234BD #BD344B #8FBD34 #34BDA6
split-complementary
#6234BD #BDA634 #4BBD34
monochromatic
#301A5D #49278D #6234BD #845CD2 #A88CDF

Accessibility & contrast

On white

7.65
#6234BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6234BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6234BD
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6234BD#FFFFFF#000000##FFFFFF
##6234BD1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#455875
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6234bd;
/* rgb */ color: rgb(98, 52, 189);
/* oklch */ color: oklch(46.6% 0.200 292.2);
Tailwind
colors: {
  custom: {
    50: '#9770d2',
    500: '#6234bd',
    950: '#000000',
  },
}
SCSS
$custom: #6234bd;
$custom-light: #9770d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6234bd",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 260.146,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46627,
    "c": 0.19994,
    "h": 292.2
  },
  "luminance": 0.08727
}

Semantic roles & 50–950 ramp

primary
#6234BD
secondary
#B2CA83
accent
#E048AD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6234BD

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

Preview Lab → · Contrast checker → · Palette generator →

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