#4F368D#4F368D

#4F368D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.0% C 0.138 H 292.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#4F368D
RGBrgb(79, 54, 141)
HSLhsl(257, 45%, 38%)
HSVhsv(257, 62%, 55%)
CMYKcmyk(44%, 61.7%, 0%, 44.7%)
CIE-LABlab(29.97, 32.67, -44.67)
CIE-LCHlch(29.97, 55.34, 306.18°)
OKLaboklab(41.01% 0.0528 -0.1274)
OKLCHoklch(41.01% 0.138 292.5)
XYZxyz(9.3500, 6.2234, 25.9027)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F368D #748D36
analogous
#36498D #4F368D #7A368D
triadic
#4F368D #8D4F36 #368D4F
tetradic
#4F368D #8D3649 #748D36 #368D7A
square
#4F368D #8D3649 #748D36 #368D7A
split-complementary
#4F368D #8D7A36 #498D36
monochromatic
#1D1434 #362561 #4F368D #6847B9 #8C74CA

Accessibility & contrast

On white

9.35
#4F368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4F368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F368D
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F368D#FFFFFF#000000##FFFFFF
##4F368D1.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00458B
Tritanopia (blue-blind)
#3E495C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4f368d;
/* rgb */ color: rgb(79, 54, 141);
/* oklch */ color: oklch(41.0% 0.138 292.5);
Tailwind
colors: {
  custom: {
    50: '#856eaf',
    500: '#4f368d',
    950: '#000000',
  },
}
SCSS
$custom: #4f368d;
$custom-light: #856eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f368d",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 257.241,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41012,
    "c": 0.13786,
    "h": 292.5
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#4F368D
secondary
#9EB26D
accent
#D453AF
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4F368D

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

Preview Lab → · Contrast checker → · Palette generator →

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