#461988#461988

#461988 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.167 H 294.5°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#461988
RGBrgb(70, 25, 136)
HSLhsl(264, 69%, 32%)
HSVhsv(264, 82%, 53%)
CMYKcmyk(48.5%, 81.6%, 0%, 46.7%)
CIE-LABlab(22.91, 44.97, -53.10)
CIE-LCHlch(22.91, 69.58, 310.26°)
OKLaboklab(35.6% 0.0695 -0.1523)
OKLCHoklch(35.6% 0.167 294.5)
XYZxyz(7.3161, 3.7747, 23.6309)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#461988 #5B8819
analogous
#192488 #461988 #7E1988
triadic
#461988 #884619 #198846
tetradic
#461988 #881924 #5B8819 #19887E
square
#461988 #881924 #5B8819 #19887E
split-complementary
#461988 #887E19 #248819
monochromatic
#110621 #2B0F54 #461988 #6123BC #7F40DC

Accessibility & contrast

On white

11.97
#461988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#461988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #461988
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##461988#FFFFFF#000000##FFFFFF
##4619881.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#323951
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #461988;
/* rgb */ color: rgb(70, 25, 136);
/* oklch */ color: oklch(35.6% 0.167 294.5);
Tailwind
colors: {
  custom: {
    50: '#815cac',
    500: '#461988',
    950: '#000000',
  },
}
SCSS
$custom: #461988;
$custom-light: #815cac;
$custom-dark: #000000;
JSON
{
  "hex": "#461988",
  "rgb": {
    "r": 70,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 264.324,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35601,
    "c": 0.16745,
    "h": 294.5
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#461988
secondary
#8ABB41
accent
#EC3CA5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #461988

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

Preview Lab → · Contrast checker → · Palette generator →

#461988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva