#281349#281349

#281349 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.095 H 296.8°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#281349
RGBrgb(40, 19, 73)
HSLhsl(263, 59%, 18%)
HSVhsv(263, 74%, 29%)
CMYKcmyk(45.2%, 74%, 0%, 71.4%)
CIE-LABlab(11.94, 24.39, -29.79)
CIE-LCHlch(11.94, 38.50, 309.31°)
OKLaboklab(25.15% 0.043 -0.085)
OKLCHoklch(25.15% 0.095 296.8)
XYZxyz(2.3102, 1.3979, 6.4501)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281349 #344913
analogous
#131949 #281349 #431349
triadic
#281349 #492813 #134928
tetradic
#281349 #491319 #344913 #134943
square
#281349 #491319 #344913 #134943
split-complementary
#281349 #494313 #194913
monochromatic
#0D0618 #0D0618 #281349 #43207A #5D2CAA

Accessibility & contrast

On white

16.41
#281349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#281349 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281349
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281349#FFFFFF#000000##FFFFFF
##2813491.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#20202C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281349;
/* rgb */ color: rgb(40, 19, 73);
/* oklch */ color: oklch(25.2% 0.095 296.8);
Tailwind
colors: {
  custom: {
    50: '#65527c',
    500: '#281349',
    950: '#000000',
  },
}
SCSS
$custom: #281349;
$custom-light: #65527c;
$custom-dark: #000000;
JSON
{
  "hex": "#281349",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 263.333,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25154,
    "c": 0.09526,
    "h": 296.8
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#281349
secondary
#648236
accent
#E246A5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #281349

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

Preview Lab → · Contrast checker → · Palette generator →

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