#281230#281230

#281230 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.062 H 316.4°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#281230
RGBrgb(40, 18, 48)
HSLhsl(284, 45%, 13%)
HSVhsv(284, 63%, 19%)
CMYKcmyk(16.7%, 62.5%, 0%, 81.2%)
CIE-LABlab(9.78, 17.70, -15.44)
CIE-LCHlch(9.78, 23.48, 318.91°)
OKLaboklab(22.96% 0.045 -0.0429)
OKLCHoklch(22.96% 0.062 316.4)
XYZxyz(1.6248, 1.0972, 2.9219)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281230 #1A3012
analogous
#191230 #281230 #301229
triadic
#281230 #302812 #123028
tetradic
#281230 #301912 #1A3012 #122930
square
#281230 #301912 #1A3012 #122930
split-complementary
#281230 #293012 #123019
monochromatic
#130816 #130816 #281230 #4D235D #723389

Accessibility & contrast

On white

17.22
#281230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#281230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281230
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281230#FFFFFF#000000##FFFFFF
##2812301.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A31
Deuteranopia (green-blind)
#121C2F
Tritanopia (blue-blind)
#28171E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #281230;
/* rgb */ color: rgb(40, 18, 48);
/* oklch */ color: oklch(23.0% 0.062 316.4);
Tailwind
colors: {
  custom: {
    50: '#635168',
    500: '#281230',
    950: '#000000',
  },
}
SCSS
$custom: #281230;
$custom-light: #635168;
$custom-dark: #000000;
JSON
{
  "hex": "#281230",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 284,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2296,
    "c": 0.06224,
    "h": 316.4
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#281230
secondary
#436836
accent
#D55375
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #281230

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

Preview Lab → · Contrast checker → · Palette generator →

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