#462F95#462F95

#462F95 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.158 H 287.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#462F95
RGBrgb(70, 47, 149)
HSLhsl(254, 52%, 38%)
HSVhsv(254, 68%, 58%)
CMYKcmyk(53%, 68.5%, 0%, 41.6%)
CIE-LABlab(28.13, 37.40, -52.63)
CIE-LCHlch(28.13, 64.56, 305.40°)
OKLaboklab(39.66% 0.0468 -0.1511)
OKLCHoklch(39.66% 0.158 287.2)
XYZxyz(8.9655, 5.5046, 29.0180)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462F95 #7E952F
analogous
#2F4B95 #462F95 #792F95
triadic
#462F95 #95462F #2F9546
tetradic
#462F95 #952F4B #7E952F #2F9579
square
#462F95 #952F4B #7E952F #2F9579
split-complementary
#462F95 #95792F #4B952F
monochromatic
#1A1238 #302066 #462F95 #5C3FC2 #846DD1

Accessibility & contrast

On white

10.00
#462F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#462F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462F95
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462F95#FFFFFF#000000##FFFFFF
##462F951.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#28495E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #462f95;
/* rgb */ color: rgb(70, 47, 149);
/* oklch */ color: oklch(39.7% 0.158 287.2);
Tailwind
colors: {
  custom: {
    50: '#8169b5',
    500: '#462f95',
    950: '#000000',
  },
}
SCSS
$custom: #462f95;
$custom-light: #8169b5;
$custom-dark: #000000;
JSON
{
  "hex": "#462f95",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 253.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39655,
    "c": 0.15815,
    "h": 287.2
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#462F95
secondary
#A6B867
accent
#DB4CBB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #462F95

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

Preview Lab → · Contrast checker → · Palette generator →

#462F95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva