#4F268E#4F268E

#4F268E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.161 H 296.0°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4F268E
RGBrgb(79, 38, 142)
HSLhsl(264, 58%, 35%)
HSVhsv(264, 73%, 56%)
CMYKcmyk(44.4%, 73.2%, 0%, 44.3%)
CIE-LABlab(26.74, 41.97, -50.53)
CIE-LCHlch(26.74, 65.69, 309.71°)
OKLaboklab(38.71% 0.0705 -0.1446)
OKLCHoklch(38.71% 0.161 296)
XYZxyz(8.7988, 5.0013, 26.0877)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F268E #658E26
analogous
#26318E #4F268E #83268E
triadic
#4F268E #8E4F26 #268E4F
tetradic
#4F268E #8E2631 #658E26 #268E83
square
#4F268E #8E2631 #658E26 #268E83
split-complementary
#4F268E #8E8326 #318E26
monochromatic
#190C2D #34195E #4F268E #6A33BE #8B5BD3

Accessibility & contrast

On white

10.50
#4F268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4F268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F268E
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F268E#FFFFFF#000000##FFFFFF
##4F268E1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#3E4057
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f268e;
/* rgb */ color: rgb(79, 38, 142);
/* oklch */ color: oklch(38.7% 0.161 296.0);
Tailwind
colors: {
  custom: {
    50: '#8664b0',
    500: '#4f268e',
    950: '#000000',
  },
}
SCSS
$custom: #4f268e;
$custom-light: #8664b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f268e",
  "rgb": {
    "r": 79,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 263.654,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38709,
    "c": 0.16084,
    "h": 296
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#4F268E
secondary
#92B858
accent
#E147A4
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4F268E

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

Preview Lab → · Contrast checker → · Palette generator →

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