#4F2090#4F2090

#4F2090 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.170 H 296.4°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#4F2090
RGBrgb(79, 32, 144)
HSLhsl(265, 64%, 35%)
HSVhsv(265, 78%, 56%)
CMYKcmyk(45.1%, 77.8%, 0%, 43.5%)
CIE-LABlab(25.89, 45.42, -53.16)
CIE-LCHlch(25.89, 69.92, 310.51°)
OKLaboklab(38.16% 0.0756 -0.1522)
OKLCHoklch(38.16% 0.17 296.4)
XYZxyz(8.7737, 4.7087, 26.8268)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2090 #619020
analogous
#202990 #4F2090 #872090
triadic
#4F2090 #904F20 #20904F
tetradic
#4F2090 #902029 #619020 #209087
square
#4F2090 #902029 #619020 #209087
split-complementary
#4F2090 #908720 #299020
monochromatic
#180A2C #34155E #4F2090 #6A2BC2 #8A52D9

Accessibility & contrast

On white

10.81
#4F2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4F2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2090
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2090#FFFFFF#000000##FFFFFF
##4F20901.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#3D3E57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2090;
/* rgb */ color: rgb(79, 32, 144);
/* oklch */ color: oklch(38.2% 0.170 296.4);
Tailwind
colors: {
  custom: {
    50: '#8761b1',
    500: '#4f2090',
    950: '#000000',
  },
}
SCSS
$custom: #4f2090;
$custom-light: #8761b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2090",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 265.179,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38164,
    "c": 0.16997,
    "h": 296.4
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#4F2090
secondary
#8FBC50
accent
#E741A1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F2090

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

Preview Lab → · Contrast checker → · Palette generator →

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