#281965#281965

#281965 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.8% C 0.125 H 284.4°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#281965
RGBrgb(40, 25, 101)
HSLhsl(252, 60%, 25%)
HSVhsv(252, 75%, 40%)
CMYKcmyk(60.4%, 75.2%, 0%, 60.4%)
CIE-LABlab(15.93, 29.83, -42.21)
CIE-LCHlch(15.93, 51.69, 305.25°)
OKLaboklab(28.83% 0.0311 -0.1215)
OKLCHoklch(28.83% 0.125 284.4)
XYZxyz(3.5709, 2.0857, 12.5238)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281965 #566519
analogous
#193065 #281965 #4E1965
triadic
#281965 #652819 #196528
tetradic
#281965 #651930 #566519 #19654E
square
#281965 #651930 #566519 #19654E
split-complementary
#281965 #654E19 #306519
monochromatic
#0A0619 #150D34 #281965 #3B2596 #4F31C7

Accessibility & contrast

On white

14.82
#281965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#281965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281965
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281965#FFFFFF#000000##FFFFFF
##2819651.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#092D3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281965;
/* rgb */ color: rgb(40, 25, 101);
/* oklch */ color: oklch(28.8% 0.125 284.4);
Tailwind
colors: {
  custom: {
    50: '#6a5792',
    500: '#281965',
    950: '#000000',
  },
}
SCSS
$custom: #281965;
$custom-light: #6a5792;
$custom-dark: #000000;
JSON
{
  "hex": "#281965",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 251.842,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28828,
    "c": 0.12542,
    "h": 284.4
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#281965
secondary
#899B3F
accent
#E344C4
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281965

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

Preview Lab → · Contrast checker → · Palette generator →

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