#4F35AF#4F35AF

#4F35AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.183 H 285.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4F35AF
RGBrgb(79, 53, 175)
HSLhsl(253, 54%, 45%)
HSVhsv(253, 70%, 69%)
CMYKcmyk(54.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(32.49, 43.45, -61.19)
CIE-LCHlch(32.49, 75.05, 305.38°)
OKLaboklab(43.69% 0.0499 -0.1759)
OKLCHoklch(43.69% 0.183 285.8)
XYZxyz(12.2331, 7.3029, 41.3141)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F35AF #95AF35
analogous
#3558AF #4F35AF #8C35AF
triadic
#4F35AF #AF4F35 #35AF4F
tetradic
#4F35AF #AF3558 #95AF35 #35AF8C
square
#4F35AF #AF3558 #95AF35 #35AF8C
split-complementary
#4F35AF #AF8C35 #58AF35
monochromatic
#251951 #3A2780 #4F35AF #6F56CC #9785DA

Accessibility & contrast

On white

8.53
#4F35AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4F35AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F35AF
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F35AF#FFFFFF#000000##FFFFFF
##4F35AF1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#25556E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f35af;
/* rgb */ color: rgb(79, 53, 175);
/* oklch */ color: oklch(43.7% 0.183 285.8);
Tailwind
colors: {
  custom: {
    50: '#8a6ec8',
    500: '#4f35af',
    950: '#000000',
  },
}
SCSS
$custom: #4f35af;
$custom-light: #8a6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f35af",
  "rgb": {
    "r": 79,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 252.787,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43686,
    "c": 0.18286,
    "h": 285.8
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#4F35AF
secondary
#B4C47C
accent
#DD4BBE
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4F35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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