#462278#462278

#462278 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.139 H 298.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#462278
RGBrgb(70, 34, 120)
HSLhsl(265, 56%, 30%)
HSVhsv(265, 72%, 47%)
CMYKcmyk(41.7%, 71.7%, 0%, 52.9%)
CIE-LABlab(23.01, 36.20, -42.83)
CIE-LCHlch(23.01, 56.08, 310.21°)
OKLaboklab(35.22% 0.0652 -0.1223)
OKLCHoklch(35.22% 0.139 298.1)
XYZxyz(6.4871, 3.8021, 18.1578)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462278 #547822
analogous
#222978 #462278 #712278
triadic
#462278 #784622 #227846
tetradic
#462278 #782229 #547822 #227871
square
#462278 #782229 #547822 #227871
split-complementary
#462278 #787122 #297822
monochromatic
#0E0719 #2A1448 #462278 #6230A8 #8049CB

Accessibility & contrast

On white

11.93
#462278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462278
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462278#FFFFFF#000000##FFFFFF
##4622781.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#003676
Tritanopia (blue-blind)
#3A374A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #462278;
/* rgb */ color: rgb(70, 34, 120);
/* oklch */ color: oklch(35.2% 0.139 298.1);
Tailwind
colors: {
  custom: {
    50: '#7e60a0',
    500: '#462278',
    950: '#000000',
  },
}
SCSS
$custom: #462278;
$custom-light: #7e60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#462278",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 265.116,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35221,
    "c": 0.13855,
    "h": 298.1
  },
  "luminance": 0.03802
}

Semantic roles & 50–950 ramp

primary
#462278
secondary
#83AB4B
accent
#DF49A0
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #462278

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

Preview Lab → · Contrast checker → · Palette generator →

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