#230528#230528

#230528 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.075 H 321.7°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#230528
RGBrgb(35, 5, 40)
HSLhsl(291, 78%, 9%)
HSVhsv(291, 88%, 16%)
CMYKcmyk(12.5%, 87.5%, 0%, 84.3%)
CIE-LABlab(5.59, 21.06, -16.12)
CIE-LCHlch(5.59, 26.52, 322.56°)
OKLaboklab(19.34% 0.059 -0.0465)
OKLCHoklch(19.34% 0.075 321.7)
XYZxyz(1.1304, 0.6191, 2.0670)
Luminance0.0062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230528 #0A2805
analogous
#120528 #230528 #28051C
triadic
#230528 #282305 #052823
tetradic
#230528 #281205 #0A2805 #051C28
square
#230528 #281205 #0A2805 #051C28
split-complementary
#230528 #1C2805 #052812
monochromatic
#18031B #18031B #230528 #530C5E #821395

Accessibility & contrast

On white

18.69
#230528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#230528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230528
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230528#FFFFFF#000000##FFFFFF
##2305281.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#091327
Tritanopia (blue-blind)
#230B15
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #230528;
/* rgb */ color: rgb(35, 5, 40);
/* oklch */ color: oklch(19.3% 0.075 321.7);
Tailwind
colors: {
  custom: {
    50: '#5f4862',
    500: '#230528',
    950: '#000000',
  },
}
SCSS
$custom: #230528;
$custom-light: #5f4862;
$custom-dark: #000000;
JSON
{
  "hex": "#230528",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 40
  },
  "hsl": {
    "h": 291.429,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19339,
    "c": 0.07507,
    "h": 321.7
  },
  "luminance": 0.00619
}

Semantic roles & 50–950 ramp

primary
#230528
secondary
#2A6A1F
accent
#F4344F
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#050005
muted
#797779

Preview Lab

Preview with #230528

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

Preview Lab → · Contrast checker → · Palette generator →

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