#281673#281673

#281673 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.147 H 281.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#281673
RGBrgb(40, 22, 115)
HSLhsl(252, 68%, 27%)
HSVhsv(252, 81%, 45%)
CMYKcmyk(65.2%, 80.9%, 0%, 54.9%)
CIE-LABlab(16.81, 36.13, -49.91)
CIE-LCHlch(16.81, 61.61, 305.90°)
OKLaboklab(29.89% 0.0297 -0.144)
OKLCHoklch(29.89% 0.147 281.7)
XYZxyz(4.2555, 2.2624, 16.4288)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281673 #617316
analogous
#163373 #281673 #571673
triadic
#281673 #732816 #167328
tetradic
#281673 #731633 #617316 #167357
square
#281673 #731633 #617316 #167357
split-complementary
#281673 #735716 #337316
monochromatic
#09051A #160C40 #281673 #3A20A6 #4E2DD7

Accessibility & contrast

On white

14.46
#281673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#281673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281673
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281673#FFFFFF#000000##FFFFFF
##2816731.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002671
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281673;
/* rgb */ color: rgb(40, 22, 115);
/* oklch */ color: oklch(29.9% 0.147 281.7);
Tailwind
colors: {
  custom: {
    50: '#6d569c',
    500: '#281673',
    950: '#000000',
  },
}
SCSS
$custom: #281673;
$custom-light: #6d569c;
$custom-dark: #000000;
JSON
{
  "hex": "#281673",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 251.613,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29894,
    "c": 0.14702,
    "h": 281.7
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#281673
secondary
#94A93C
accent
#EB3DC9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281673

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

Preview Lab → · Contrast checker → · Palette generator →

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