#462268#462268

#462268 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.9% C 0.119 H 304.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#462268
RGBrgb(70, 34, 104)
HSLhsl(271, 51%, 27%)
HSVhsv(271, 67%, 41%)
CMYKcmyk(32.7%, 67.3%, 0%, 59.2%)
CIE-LABlab(21.75, 31.81, -34.56)
CIE-LCHlch(21.75, 46.97, 312.63°)
OKLaboklab(33.92% 0.0672 -0.0979)
OKLCHoklch(33.92% 0.119 304.4)
XYZxyz(5.5959, 3.4456, 13.4643)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462268 #446822
analogous
#232268 #462268 #682267
triadic
#462268 #684622 #226846
tetradic
#462268 #682322 #446822 #226768
square
#462268 #682322 #446822 #226768
split-complementary
#462268 #676822 #226823
monochromatic
#100817 #27133A #462268 #653196 #8443C2

Accessibility & contrast

On white

12.43
#462268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#462268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462268
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462268#FFFFFF#000000##FFFFFF
##4622681.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#0F3466
Tritanopia (blue-blind)
#403141
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #462268;
/* rgb */ color: rgb(70, 34, 104);
/* oklch */ color: oklch(33.9% 0.119 304.4);
Tailwind
colors: {
  custom: {
    50: '#7c5f94',
    500: '#462268',
    950: '#000000',
  },
}
SCSS
$custom: #462268;
$custom-light: #7c5f94;
$custom-dark: #000000;
JSON
{
  "hex": "#462268",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 270.857,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33919,
    "c": 0.11877,
    "h": 304.4
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#462268
secondary
#729C4A
accent
#DA4E92
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #462268

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

Preview Lab → · Contrast checker → · Palette generator →

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