#462298#462298

#462298 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.177 H 289.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#462298
RGBrgb(70, 34, 152)
HSLhsl(258, 63%, 36%)
HSVhsv(258, 78%, 60%)
CMYKcmyk(53.9%, 77.6%, 0%, 40.4%)
CIE-LABlab(25.90, 45.28, -58.11)
CIE-LCHlch(25.90, 73.67, 307.93°)
OKLaboklab(38.16% 0.0576 -0.1671)
OKLCHoklch(38.16% 0.177 289)
XYZxyz(8.7637, 4.7127, 30.1476)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462298 #749822
analogous
#223998 #462298 #812298
triadic
#462298 #984622 #229846
tetradic
#462298 #982239 #749822 #229881
square
#462298 #982239 #749822 #229881
split-complementary
#462298 #988122 #399822
monochromatic
#180C34 #2F1766 #462298 #5D2DCA #815ADA

Accessibility & contrast

On white

10.81
#462298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#462298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462298
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462298#FFFFFF#000000##FFFFFF
##4622981.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#26435C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462298;
/* rgb */ color: rgb(70, 34, 152);
/* oklch */ color: oklch(38.2% 0.177 289.0);
Tailwind
colors: {
  custom: {
    50: '#8362b7',
    500: '#462298',
    950: '#000000',
  },
}
SCSS
$custom: #462298;
$custom-light: #8362b7;
$custom-dark: #000000;
JSON
{
  "hex": "#462298",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 258.305,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.17675,
    "h": 289
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#462298
secondary
#9FBE57
accent
#E641B4
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #462298

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

Preview Lab → · Contrast checker → · Palette generator →

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