#461F7C#461F7C

#461F7C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.147 H 297.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#461F7C
RGBrgb(70, 31, 124)
HSLhsl(265, 60%, 30%)
HSVhsv(265, 75%, 49%)
CMYKcmyk(43.5%, 75%, 0%, 51.4%)
CIE-LABlab(22.78, 38.89, -45.74)
CIE-LCHlch(22.78, 60.04, 310.37°)
OKLaboklab(35.17% 0.0676 -0.1308)
OKLCHoklch(35.17% 0.147 297.3)
XYZxyz(6.6529, 3.7372, 19.4357)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461F7C #557C1F
analogous
#1F277C #461F7C #741F7C
triadic
#461F7C #7C461F #1F7C46
tetradic
#461F7C #7C1F27 #557C1F #1F7C74
square
#461F7C #7C1F27 #557C1F #1F7C74
split-complementary
#461F7C #7C741F #277C1F
monochromatic
#0F071A #2A134B #461F7C #622BAD #7F45D0

Accessibility & contrast

On white

12.02
#461F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#461F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461F7C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461F7C#FFFFFF#000000##FFFFFF
##461F7C1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#38374B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #461f7c;
/* rgb */ color: rgb(70, 31, 124);
/* oklch */ color: oklch(35.2% 0.147 297.3);
Tailwind
colors: {
  custom: {
    50: '#7f5ea3',
    500: '#461f7c',
    950: '#000000',
  },
}
SCSS
$custom: #461f7c;
$custom-light: #7f5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#461f7c",
  "rgb": {
    "r": 70,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 265.161,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35169,
    "c": 0.14723,
    "h": 297.3
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#461F7C
secondary
#84AF48
accent
#E345A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #461F7C

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

Preview Lab → · Contrast checker → · Palette generator →

#461F7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva