#4F358C#4F358C

#4F358C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.8% C 0.138 H 293.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4F358C
RGBrgb(79, 53, 140)
HSLhsl(258, 45%, 38%)
HSVhsv(258, 62%, 55%)
CMYKcmyk(43.6%, 62.1%, 0%, 45.1%)
CIE-LABlab(29.67, 32.98, -44.54)
CIE-LCHlch(29.67, 55.42, 306.52°)
OKLaboklab(40.77% 0.054 -0.127)
OKLCHoklch(40.77% 0.138 293)
XYZxyz(9.2299, 6.1017, 25.4973)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F358C #728C35
analogous
#35468C #4F358C #7A358C
triadic
#4F358C #8C4F35 #358C4F
tetradic
#4F358C #8C3546 #728C35 #358C7A
square
#4F358C #8C3546 #728C35 #358C7A
split-complementary
#4F358C #8C7A35 #468C35
monochromatic
#1D1333 #362460 #4F358C #6846B8 #8C72CA

Accessibility & contrast

On white

9.46
#4F358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4F358C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F358C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F358C#FFFFFF#000000##FFFFFF
##4F358C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#3E495B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f358c;
/* rgb */ color: rgb(79, 53, 140);
/* oklch */ color: oklch(40.8% 0.138 293.0);
Tailwind
colors: {
  custom: {
    50: '#856dae',
    500: '#4f358c',
    950: '#000000',
  },
}
SCSS
$custom: #4f358c;
$custom-light: #856dae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f358c",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 257.931,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.13801,
    "h": 293
  },
  "luminance": 0.06102
}

Semantic roles & 50–950 ramp

primary
#4F358C
secondary
#9DB26B
accent
#D553AE
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F358C

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

Preview Lab → · Contrast checker → · Palette generator →

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