#281675#281675

#281675 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.150 H 281.2°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#281675
RGBrgb(40, 22, 117)
HSLhsl(251, 68%, 27%)
HSVhsv(251, 81%, 46%)
CMYKcmyk(65.8%, 81.2%, 0%, 54.1%)
CIE-LABlab(17.03, 36.77, -50.83)
CIE-LCHlch(17.03, 62.74, 305.88°)
OKLaboklab(30.12% 0.0291 -0.1467)
OKLCHoklch(30.12% 0.15 281.2)
XYZxyz(4.3719, 2.3090, 17.0415)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281675 #637516
analogous
#163475 #281675 #571675
triadic
#281675 #752816 #167528
tetradic
#281675 #751634 #637516 #167557
square
#281675 #751634 #637516 #167557
split-complementary
#281675 #755716 #347516
monochromatic
#09051A #160C41 #281675 #3A20A9 #4E2ED8

Accessibility & contrast

On white

14.37
#281675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#281675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281675
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281675#FFFFFF#000000##FFFFFF
##2816751.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281675;
/* rgb */ color: rgb(40, 22, 117);
/* oklch */ color: oklch(30.1% 0.150 281.2);
Tailwind
colors: {
  custom: {
    50: '#6e569e',
    500: '#281675',
    950: '#000000',
  },
}
SCSS
$custom: #281675;
$custom-light: #6e569e;
$custom-dark: #000000;
JSON
{
  "hex": "#281675",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 251.368,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30116,
    "c": 0.14954,
    "h": 281.2
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#281675
secondary
#96AB3C
accent
#EB3DCA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281675

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

Preview Lab → · Contrast checker → · Palette generator →

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