#462263#462263

#462263 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.5% C 0.113 H 306.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#462263
RGBrgb(70, 34, 99)
HSLhsl(273, 49%, 26%)
HSVhsv(273, 66%, 39%)
CMYKcmyk(29.3%, 65.7%, 0%, 61.2%)
CIE-LABlab(21.38, 30.48, -31.88)
CIE-LCHlch(21.38, 44.10, 313.72°)
OKLaboklab(33.54% 0.0675 -0.0901)
OKLCHoklch(33.54% 0.113 306.8)
XYZxyz(5.3495, 3.3471, 12.1662)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462263 #3F6322
analogous
#252263 #462263 #63225F
triadic
#462263 #634622 #226346
tetradic
#462263 #632522 #3F6322 #225F63
square
#462263 #632522 #3F6322 #225F63
split-complementary
#462263 #5F6322 #226325
monochromatic
#100817 #261235 #462263 #663291 #8641BE

Accessibility & contrast

On white

12.58
#462263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462263
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462263#FFFFFF#000000##FFFFFF
##4622631.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #462263;
/* rgb */ color: rgb(70, 34, 99);
/* oklch */ color: oklch(33.5% 0.113 306.8);
Tailwind
colors: {
  custom: {
    50: '#7c5f90',
    500: '#462263',
    950: '#000000',
  },
}
SCSS
$custom: #462263;
$custom-light: #7c5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#462263",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 273.231,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33539,
    "c": 0.11252,
    "h": 306.8
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#462263
secondary
#6C974A
accent
#D84F8D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #462263

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

Preview Lab → · Contrast checker → · Palette generator →

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