#462088#462088

#462088 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.160 H 293.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#462088
RGBrgb(70, 32, 136)
HSLhsl(262, 62%, 33%)
HSVhsv(262, 76%, 53%)
CMYKcmyk(48.5%, 76.5%, 0%, 46.7%)
CIE-LABlab(24.04, 41.73, -51.25)
CIE-LCHlch(24.04, 66.09, 309.15°)
OKLaboklab(36.39% 0.0637 -0.147)
OKLCHoklch(36.39% 0.16 293.4)
XYZxyz(7.4850, 4.1125, 23.6872)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462088 #628820
analogous
#202E88 #462088 #7A2088
triadic
#462088 #884620 #208846
tetradic
#462088 #88202E #628820 #20887A
square
#462088 #88202E #628820 #20887A
split-complementary
#462088 #887A20 #2E8820
monochromatic
#130925 #2C1456 #462088 #5F2CBA #7F4DD5

Accessibility & contrast

On white

11.52
#462088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#462088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462088
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462088#FFFFFF#000000##FFFFFF
##4620881.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#323C52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #462088;
/* rgb */ color: rgb(70, 32, 136);
/* oklch */ color: oklch(36.4% 0.160 293.4);
Tailwind
colors: {
  custom: {
    50: '#8160ac',
    500: '#462088',
    950: '#000000',
  },
}
SCSS
$custom: #462088;
$custom-light: #8160ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462088",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 261.923,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36389,
    "c": 0.16019,
    "h": 293.4
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#462088
secondary
#90B84C
accent
#E543AA
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462088

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

Preview Lab → · Contrast checker → · Palette generator →

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