#462068#462068

#462068 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.122 H 304.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#462068
RGBrgb(70, 32, 104)
HSLhsl(272, 53%, 27%)
HSVhsv(272, 69%, 41%)
CMYKcmyk(32.7%, 69.2%, 0%, 59.2%)
CIE-LABlab(21.34, 32.93, -35.22)
CIE-LCHlch(21.34, 48.22, 313.08°)
OKLaboklab(33.62% 0.0698 -0.0999)
OKLCHoklch(33.62% 0.122 304.9)
XYZxyz(5.5404, 3.3346, 13.4458)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462068 #426820
analogous
#222068 #462068 #682066
triadic
#462068 #684620 #206846
tetradic
#462068 #682220 #426820 #206668
square
#462068 #682220 #426820 #206668
split-complementary
#462068 #666820 #206822
monochromatic
#100717 #271239 #462068 #662E97 #853FC4

Accessibility & contrast

On white

12.60
#462068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#462068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462068
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462068#FFFFFF#000000##FFFFFF
##4620681.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#0B3366
Tritanopia (blue-blind)
#403041
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #462068;
/* rgb */ color: rgb(70, 32, 104);
/* oklch */ color: oklch(33.6% 0.122 304.9);
Tailwind
colors: {
  custom: {
    50: '#7d5e94',
    500: '#462068',
    950: '#000000',
  },
}
SCSS
$custom: #462068;
$custom-light: #7d5e94;
$custom-dark: #000000;
JSON
{
  "hex": "#462068",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 271.667,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33623,
    "c": 0.12182,
    "h": 304.9
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#462068
secondary
#709C48
accent
#DC4B90
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #462068

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

Preview Lab → · Contrast checker → · Palette generator →

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