#4830BF#4830BF

#4830BF is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 43.9% C 0.208 H 281.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4830BF
RGBrgb(72, 48, 191)
HSLhsl(250, 60%, 47%)
HSVhsv(250, 75%, 75%)
CMYKcmyk(62.3%, 74.9%, 0%, 25.1%)
CIE-LABlab(32.37, 49.96, -70.88)
CIE-LCHlch(32.37, 86.72, 305.18°)
OKLaboklab(43.9% 0.0404 -0.2045)
OKLCHoklch(43.9% 0.208 281.2)
XYZxyz(13.1304, 7.2522, 49.9880)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4830BF #A7BF30
analogous
#3060BF #4830BF #9030BF
triadic
#4830BF #BF4830 #30BF48
tetradic
#4830BF #BF3060 #A7BF30 #30BF90
square
#4830BF #BF3060 #A7BF30 #30BF90
split-complementary
#4830BF #BF9030 #60BF30
monochromatic
#23175D #36248E #4830BF #6C57D5 #9788E1

Accessibility & contrast

On white

8.57
#4830BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4830BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4830BF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4830BF#FFFFFF#000000##FFFFFF
##4830BF1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4830bf;
/* rgb */ color: rgb(72, 48, 191);
/* oklch */ color: oklch(43.9% 0.208 281.2);
Tailwind
colors: {
  custom: {
    50: '#8a6cd4',
    500: '#4830bf',
    950: '#000000',
  },
}
SCSS
$custom: #4830bf;
$custom-light: #8a6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4830bf",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 250.07,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43902,
    "c": 0.20843,
    "h": 281.2
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#4830BF
secondary
#BECB80
accent
#E345C8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4830BF

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

Preview Lab → · Contrast checker → · Palette generator →

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