#462264#462264

#462264 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.114 H 306.3°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#462264
RGBrgb(70, 34, 100)
HSLhsl(273, 49%, 26%)
HSVhsv(273, 66%, 39%)
CMYKcmyk(30%, 66%, 0%, 60.8%)
CIE-LABlab(21.45, 30.74, -32.42)
CIE-LCHlch(21.45, 44.68, 313.48°)
OKLaboklab(33.61% 0.0674 -0.0916)
OKLCHoklch(33.61% 0.114 306.3)
XYZxyz(5.3976, 3.3663, 12.4195)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462264 #406422
analogous
#252264 #462264 #642261
triadic
#462264 #644622 #226446
tetradic
#462264 #642522 #406422 #226164
square
#462264 #642522 #406422 #226164
split-complementary
#462264 #616422 #226425
monochromatic
#100817 #261236 #462264 #663292 #8642BF

Accessibility & contrast

On white

12.55
#462264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462264
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462264#FFFFFF#000000##FFFFFF
##4622641.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#143462
Tritanopia (blue-blind)
#412F3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #462264;
/* rgb */ color: rgb(70, 34, 100);
/* oklch */ color: oklch(33.6% 0.114 306.3);
Tailwind
colors: {
  custom: {
    50: '#7c5f91',
    500: '#462264',
    950: '#000000',
  },
}
SCSS
$custom: #462264;
$custom-light: #7c5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#462264",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 272.727,
    "s": 49.254,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33614,
    "c": 0.11378,
    "h": 306.3
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#462264
secondary
#6D984A
accent
#D94F8E
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A050D
muted
#7C797D

Preview Lab

Preview with #462264

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

Preview Lab → · Contrast checker → · Palette generator →

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