#281647#281647

#281647 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.088 H 296.6°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#281647
RGBrgb(40, 22, 71)
HSLhsl(262, 53%, 18%)
HSVhsv(262, 69%, 28%)
CMYKcmyk(43.7%, 69%, 0%, 72.2%)
CIE-LABlab(12.48, 21.85, -27.53)
CIE-LCHlch(12.48, 35.14, 308.44°)
OKLaboklab(25.49% 0.0392 -0.0784)
OKLCHoklch(25.49% 0.088 296.6)
XYZxyz(2.2990, 1.4798, 6.1245)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281647 #354716
analogous
#161C47 #281647 #401647
triadic
#281647 #472816 #164728
tetradic
#281647 #47161C #354716 #164740
square
#281647 #47161C #354716 #164740
split-complementary
#281647 #474016 #1C4716
monochromatic
#0D0717 #0E0818 #281647 #422476 #5D33A4

Accessibility & contrast

On white

16.20
#281647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#281647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281647
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281647#FFFFFF#000000##FFFFFF
##2816471.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#012046
Tritanopia (blue-blind)
#20212C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281647;
/* rgb */ color: rgb(40, 22, 71);
/* oklch */ color: oklch(25.5% 0.088 296.6);
Tailwind
colors: {
  custom: {
    50: '#65547b',
    500: '#281647',
    950: '#000000',
  },
}
SCSS
$custom: #281647;
$custom-light: #65547b;
$custom-dark: #000000;
JSON
{
  "hex": "#281647",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 262.041,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25487,
    "c": 0.08764,
    "h": 296.6
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#281647
secondary
#657E3A
accent
#DC4CA7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #281647

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

Preview Lab → · Contrast checker → · Palette generator →

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