#281646#281646

#281646 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.086 H 297.1°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#281646
RGBrgb(40, 22, 70)
HSLhsl(263, 52%, 18%)
HSVhsv(263, 69%, 27%)
CMYKcmyk(42.9%, 68.6%, 0%, 72.5%)
CIE-LABlab(12.40, 21.53, -26.96)
CIE-LCHlch(12.40, 34.50, 308.60°)
OKLaboklab(25.4% 0.0393 -0.0767)
OKLCHoklch(25.4% 0.086 297.1)
XYZxyz(2.2672, 1.4671, 5.9569)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281646 #344616
analogous
#161C46 #281646 #401646
triadic
#281646 #462816 #164628
tetradic
#281646 #46161C #344616 #164640
square
#281646 #46161C #344616 #164640
split-complementary
#281646 #464016 #1C4616
monochromatic
#0D0717 #0D0717 #281646 #432575 #5D33A3

Accessibility & contrast

On white

16.24
#281646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#281646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281646
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281646#FFFFFF#000000##FFFFFF
##2816461.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002048
Deuteranopia (green-blind)
#022045
Tritanopia (blue-blind)
#21212B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281646;
/* rgb */ color: rgb(40, 22, 70);
/* oklch */ color: oklch(25.4% 0.086 297.1);
Tailwind
colors: {
  custom: {
    50: '#65547a',
    500: '#281646',
    950: '#000000',
  },
}
SCSS
$custom: #281646;
$custom-light: #65547a;
$custom-dark: #000000;
JSON
{
  "hex": "#281646",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 70
  },
  "hsl": {
    "h": 262.5,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25401,
    "c": 0.08619,
    "h": 297.1
  },
  "luminance": 0.01467
}

Semantic roles & 50–950 ramp

primary
#281646
secondary
#647D3A
accent
#DC4CA6
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281646

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

Preview Lab → · Contrast checker → · Palette generator →

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