#462FB7#462FB7

#462FB7 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 42.8% C 0.200 H 281.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#462FB7
RGBrgb(70, 47, 183)
HSLhsl(250, 59%, 45%)
HSVhsv(250, 74%, 72%)
CMYKcmyk(61.7%, 74.3%, 0%, 28.2%)
CIE-LABlab(31.24, 47.82, -68.03)
CIE-LCHlch(31.24, 83.16, 305.11°)
OKLaboklab(42.82% 0.0401 -0.1962)
OKLCHoklch(42.82% 0.2 281.5)
XYZxyz(12.0869, 6.7531, 45.4571)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FB7 #A0B72F
analogous
#2F5CB7 #462FB7 #8A2FB7
triadic
#462FB7 #B7462F #2FB746
tetradic
#462FB7 #B72F5C #A0B72F #2FB78A
square
#462FB7 #B72F5C #A0B72F #2FB78A
split-complementary
#462FB7 #B78A2F #5CB72F
monochromatic
#211656 #332286 #462FB7 #6751D2 #9182DF

Accessibility & contrast

On white

8.93
#462FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#462FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FB7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FB7#FFFFFF#000000##FFFFFF
##462FB71.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #462fb7;
/* rgb */ color: rgb(70, 47, 183);
/* oklch */ color: oklch(42.8% 0.200 281.5);
Tailwind
colors: {
  custom: {
    50: '#876ace',
    500: '#462fb7',
    950: '#000000',
  },
}
SCSS
$custom: #462fb7;
$custom-light: #876ace;
$custom-dark: #000000;
JSON
{
  "hex": "#462fb7",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 250.147,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.20026,
    "h": 281.5
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#462FB7
secondary
#BBC87A
accent
#E245C8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #462FB7

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

Preview Lab → · Contrast checker → · Palette generator →

#462FB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva