#281749#281749

#281749 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.089 H 295.1°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#281749
RGBrgb(40, 23, 73)
HSLhsl(260, 52%, 19%)
HSVhsv(260, 68%, 29%)
CMYKcmyk(45.2%, 68.5%, 0%, 71.4%)
CIE-LABlab(12.89, 21.83, -28.25)
CIE-LCHlch(12.89, 35.70, 307.69°)
OKLaboklab(25.84% 0.0377 -0.0805)
OKLCHoklch(25.84% 0.089 295.1)
XYZxyz(2.3837, 1.5449, 6.4746)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281749 #384917
analogous
#171F49 #281749 #411749
triadic
#281749 #492817 #174928
tetradic
#281749 #49171F #384917 #174941
square
#281749 #49171F #384917 #174941
split-complementary
#281749 #494117 #1F4917
monochromatic
#0D0717 #0F081A #281749 #422678 #5B34A6

Accessibility & contrast

On white

16.04
#281749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#281749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281749
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281749#FFFFFF#000000##FFFFFF
##2817491.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224B
Deuteranopia (green-blind)
#002148
Tritanopia (blue-blind)
#20222D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281749;
/* rgb */ color: rgb(40, 23, 73);
/* oklch */ color: oklch(25.8% 0.089 295.1);
Tailwind
colors: {
  custom: {
    50: '#65557c',
    500: '#281749',
    950: '#000000',
  },
}
SCSS
$custom: #281749;
$custom-light: #65557c;
$custom-dark: #000000;
JSON
{
  "hex": "#281749",
  "rgb": {
    "r": 40,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 260.4,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25839,
    "c": 0.0889,
    "h": 295.1
  },
  "luminance": 0.01545
}

Semantic roles & 50–950 ramp

primary
#281749
secondary
#69803C
accent
#DC4CAB
background
#F6F4F7
surface
#EBE8EE
border
#C6C4C9
text
#060309
muted
#7A787B

Preview Lab

Preview with #281749

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

Preview Lab → · Contrast checker → · Palette generator →

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