#6234BF#6234BF

#6234BF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.202 H 291.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6234BF
RGBrgb(98, 52, 191)
HSLhsl(260, 57%, 48%)
HSVhsv(260, 73%, 75%)
CMYKcmyk(48.7%, 72.8%, 0%, 25.1%)
CIE-LABlab(35.62, 51.63, -65.46)
CIE-LCHlch(35.62, 83.37, 308.27°)
OKLaboklab(46.8% 0.075 -0.1878)
OKLCHoklch(46.8% 0.202 291.8)
XYZxyz(15.6663, 8.8137, 50.1559)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6234BF #91BF34
analogous
#344BBF #6234BF #A734BF
triadic
#6234BF #BF6234 #34BF62
tetradic
#6234BF #BF344B #91BF34 #34BFA7
square
#6234BF #BF344B #91BF34 #34BFA7
split-complementary
#6234BF #BFA734 #4BBF34
monochromatic
#311A5F #49278F #6234BF #845DD3 #A98DE0

Accessibility & contrast

On white

7.60
#6234BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6234BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6234BF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6234BF#FFFFFF#000000##FFFFFF
##6234BF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#445976
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6234bf;
/* rgb */ color: rgb(98, 52, 191);
/* oklch */ color: oklch(46.8% 0.202 291.8);
Tailwind
colors: {
  custom: {
    50: '#9770d3',
    500: '#6234bf',
    950: '#000000',
  },
}
SCSS
$custom: #6234bf;
$custom-light: #9770d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6234bf",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 259.856,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46801,
    "c": 0.20222,
    "h": 291.8
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#6234BF
secondary
#B3CA84
accent
#E047AE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6234BF

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

Preview Lab → · Contrast checker → · Palette generator →

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