#4C34BE#4C34BE

#4C34BE is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.203 H 282.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#4C34BE
RGBrgb(76, 52, 190)
HSLhsl(250, 57%, 47%)
HSVhsv(250, 73%, 75%)
CMYKcmyk(60%, 72.6%, 0%, 25.5%)
CIE-LABlab(33.37, 48.07, -68.64)
CIE-LCHlch(33.37, 83.80, 305.00°)
OKLaboklab(44.66% 0.0435 -0.1978)
OKLCHoklch(44.66% 0.203 282.4)
XYZxyz(13.4999, 7.7093, 49.4819)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C34BE #A6BE34
analogous
#3461BE #4C34BE #9134BE
triadic
#4C34BE #BE4C34 #34BE4C
tetradic
#4C34BE #BE3461 #A6BE34 #34BE91
square
#4C34BE #BE3461 #A6BE34 #34BE91
split-complementary
#4C34BE #BE9134 #61BE34
monochromatic
#261A5E #39278E #4C34BE #715DD3 #9B8DE0

Accessibility & contrast

On white

8.26
#4C34BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4C34BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C34BE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C34BE#FFFFFF#000000##FFFFFF
##4C34BE1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c34be;
/* rgb */ color: rgb(76, 52, 190);
/* oklch */ color: oklch(44.7% 0.203 282.4);
Tailwind
colors: {
  custom: {
    50: '#8b6ed3',
    500: '#4c34be',
    950: '#000000',
  },
}
SCSS
$custom: #4c34be;
$custom-light: #8b6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c34be",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 250.435,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.20257,
    "h": 282.4
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#4C34BE
secondary
#BECA84
accent
#E048C6
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C34BE

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

Preview Lab → · Contrast checker → · Palette generator →

#4C34BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva