#4F30AF#4F30AF

#4F30AF is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.189 H 286.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#4F30AF
RGBrgb(79, 48, 175)
HSLhsl(255, 57%, 44%)
HSVhsv(255, 73%, 69%)
CMYKcmyk(54.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(31.51, 46.16, -62.79)
CIE-LCHlch(31.51, 77.94, 306.32°)
OKLaboklab(42.99% 0.0541 -0.1806)
OKLCHoklch(42.99% 0.189 286.7)
XYZxyz(12.0170, 6.8707, 41.2421)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F30AF #90AF30
analogous
#3050AF #4F30AF #8E30AF
triadic
#4F30AF #AF4F30 #30AF4F
tetradic
#4F30AF #AF3050 #90AF30 #30AF8E
square
#4F30AF #AF3050 #90AF30 #30AF8E
split-complementary
#4F30AF #AF8E30 #50AF30
monochromatic
#24164F #39237F #4F30AF #6D4ECE #957EDC

Accessibility & contrast

On white

8.85
#4F30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4F30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F30AF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F30AF#FFFFFF#000000##FFFFFF
##4F30AF1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#26526C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4f30af;
/* rgb */ color: rgb(79, 48, 175);
/* oklch */ color: oklch(43.0% 0.189 286.7);
Tailwind
colors: {
  custom: {
    50: '#8a6bc8',
    500: '#4f30af',
    950: '#000000',
  },
}
SCSS
$custom: #4f30af;
$custom-light: #8a6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f30af",
  "rgb": {
    "r": 79,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 254.646,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.18854,
    "h": 286.7
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#4F30AF
secondary
#B1C476
accent
#E048BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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