#281065#281065

#281065 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.135 H 286.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#281065
RGBrgb(40, 16, 101)
HSLhsl(257, 73%, 23%)
HSVhsv(257, 84%, 40%)
CMYKcmyk(60.4%, 84.2%, 0%, 60.4%)
CIE-LABlab(14.18, 34.80, -45.09)
CIE-LCHlch(14.18, 56.96, 307.66°)
OKLaboklab(27.6% 0.0384 -0.1298)
OKLCHoklch(27.6% 0.135 286.5)
XYZxyz(3.4086, 1.7611, 12.4697)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281065 #4D6510
analogous
#102265 #281065 #521065
triadic
#281065 #652810 #106528
tetradic
#281065 #651022 #4D6510 #106552
square
#281065 #651022 #4D6510 #106552
split-complementary
#281065 #655210 #226510
monochromatic
#0A041A #130830 #281065 #3D189A #5221CF

Accessibility & contrast

On white

15.53
#281065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#281065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281065
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281065#FFFFFF#000000##FFFFFF
##2810651.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#0A293B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #281065;
/* rgb */ color: rgb(40, 16, 101);
/* oklch */ color: oklch(27.6% 0.135 286.5);
Tailwind
colors: {
  custom: {
    50: '#6b5292',
    500: '#281065',
    950: '#000000',
  },
}
SCSS
$custom: #281065;
$custom-light: #6b5292;
$custom-dark: #000000;
JSON
{
  "hex": "#281065",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 256.941,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27596,
    "c": 0.1354,
    "h": 286.5
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#281065
secondary
#809D33
accent
#EF38BC
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #281065

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

Preview Lab → · Contrast checker → · Palette generator →

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