#6236BF#6236BF

#6236BF is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.1% C 0.200 H 291.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6236BF
RGBrgb(98, 54, 191)
HSLhsl(259, 56%, 48%)
HSVhsv(259, 72%, 75%)
CMYKcmyk(48.7%, 71.7%, 0%, 25.1%)
CIE-LABlab(35.98, 50.64, -64.88)
CIE-LCHlch(35.98, 82.30, 307.97°)
OKLaboklab(47.05% 0.0732 -0.1861)
OKLCHoklch(47.05% 0.2 291.5)
XYZxyz(15.7575, 8.9960, 50.1863)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6236BF #93BF36
analogous
#364FBF #6236BF #A636BF
triadic
#6236BF #BF6236 #36BF62
tetradic
#6236BF #BF364F #93BF36 #36BFA6
square
#6236BF #BF364F #93BF36 #36BFA6
split-complementary
#6236BF #BFA636 #4FBF36
monochromatic
#311B60 #4A298F #6236BF #8560D2 #A990E0

Accessibility & contrast

On white

7.50
#6236BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6236BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6236BF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6236BF#FFFFFF#000000##FFFFFF
##6236BF1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#445A77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6236bf;
/* rgb */ color: rgb(98, 54, 191);
/* oklch */ color: oklch(47.1% 0.200 291.5);
Tailwind
colors: {
  custom: {
    50: '#9771d3',
    500: '#6236bf',
    950: '#000000',
  },
}
SCSS
$custom: #6236bf;
$custom-light: #9771d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6236bf",
  "rgb": {
    "r": 98,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 259.27,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.2,
    "h": 291.5
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#6236BF
secondary
#B5CA87
accent
#DF49AF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6236BF

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

Preview Lab → · Contrast checker → · Palette generator →

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