#230028#230028

#230028 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.4% C 0.087 H 322.8°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#230028
RGBrgb(35, 0, 40)
HSLhsl(293, 100%, 8%)
HSVhsv(293, 100%, 16%)
CMYKcmyk(12.5%, 100%, 0%, 84.3%)
CIE-LABlab(4.61, 23.43, -17.66)
CIE-LCHlch(4.61, 29.34, 322.99°)
OKLaboklab(18.4% 0.0693 -0.0526)
OKLCHoklch(18.4% 0.087 322.8)
XYZxyz(1.0761, 0.5106, 2.0489)
Luminance0.0051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230028 #052800
analogous
#0F0028 #230028 #280019
triadic
#230028 #282300 #002823
tetradic
#230028 #280F00 #052800 #001928
square
#230028 #280F00 #052800 #001928
split-complementary
#230028 #192800 #00280F
monochromatic
#1B001F #1B001F #230028 #590065 #8E00A2

Accessibility & contrast

On white

19.05
#230028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#230028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230028
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230028#FFFFFF#000000##FFFFFF
##2300281.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D29
Deuteranopia (green-blind)
#041127
Tritanopia (blue-blind)
#240613
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #230028;
/* rgb */ color: rgb(35, 0, 40);
/* oklch */ color: oklch(18.4% 0.087 322.8);
Tailwind
colors: {
  custom: {
    50: '#5f4662',
    500: '#230028',
    950: '#000000',
  },
}
SCSS
$custom: #230028;
$custom-light: #5f4662;
$custom-dark: #000000;
JSON
{
  "hex": "#230028",
  "rgb": {
    "r": 35,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 292.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18404,
    "c": 0.08704,
    "h": 322.8
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#230028
secondary
#1F7014
accent
#FF2944
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#050005
muted
#797679

Preview Lab

Preview with #230028

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

Preview Lab → · Contrast checker → · Palette generator →

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