#4F367B#4F367B

#4F367B is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.7% C 0.113 H 297.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4F367B
RGBrgb(79, 54, 123)
HSLhsl(262, 39%, 35%)
HSVhsv(262, 56%, 48%)
CMYKcmyk(35.8%, 56.1%, 0%, 51.8%)
CIE-LABlab(28.72, 27.43, -35.46)
CIE-LCHlch(28.72, 44.83, 307.72°)
OKLaboklab(39.7% 0.0528 -0.1003)
OKLCHoklch(39.7% 0.113 297.7)
XYZxyz(8.1179, 5.7306, 19.4135)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F367B #627B36
analogous
#36407B #4F367B #72367B
triadic
#4F367B #7B4F36 #367B4F
tetradic
#4F367B #7B3640 #627B36 #367B72
square
#4F367B #7B3640 #627B36 #367B72
split-complementary
#4F367B #7B7236 #407B36
monochromatic
#181126 #342350 #4F367B #6A49A6 #8A6DBF

Accessibility & contrast

On white

9.78
#4F367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4F367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F367B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F367B#FFFFFF#000000##FFFFFF
##4F367B1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447D
Deuteranopia (green-blind)
#214379
Tritanopia (blue-blind)
#454453
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f367b;
/* rgb */ color: rgb(79, 54, 123);
/* oklch */ color: oklch(39.7% 0.113 297.7);
Tailwind
colors: {
  custom: {
    50: '#836ea2',
    500: '#4f367b',
    950: '#000000',
  },
}
SCSS
$custom: #4f367b;
$custom-light: #836ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f367b",
  "rgb": {
    "r": 79,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 261.739,
    "s": 38.983,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.11335,
    "h": 297.7
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#4F367B
secondary
#8FA765
accent
#CF59A4
background
#F8F6FA
surface
#EFECF3
border
#CAC7CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4F367B

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

Preview Lab → · Contrast checker → · Palette generator →

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