#230526#230526

#230526 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.2% C 0.073 H 324.1°. Best body text is #FFFFFF at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#230526
RGBrgb(35, 5, 38)
HSLhsl(295, 77%, 8%)
HSVhsv(295, 87%, 15%)
CMYKcmyk(7.9%, 86.8%, 0%, 85.1%)
CIE-LABlab(5.47, 20.45, -14.78)
CIE-LCHlch(5.47, 25.23, 324.13°)
OKLaboklab(19.18% 0.0591 -0.0427)
OKLCHoklch(19.18% 0.073 324.1)
XYZxyz(1.0972, 0.6059, 1.8925)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230526 #082605
analogous
#120526 #230526 #260518
triadic
#230526 #262305 #052623
tetradic
#230526 #261205 #082605 #051826
square
#230526 #261205 #082605 #051826
split-complementary
#230526 #182605 #052612
monochromatic
#19041B #19041B #230526 #550C5C #871392

Accessibility & contrast

On white

18.73
#230526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230526
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230526#FFFFFF#000000##FFFFFF
##2305261.0018.731.1218.73
#FFFFFF18.731.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011027
Deuteranopia (green-blind)
#0A1325
Tritanopia (blue-blind)
#240A14
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #230526;
/* rgb */ color: rgb(35, 5, 38);
/* oklch */ color: oklch(19.2% 0.073 324.1);
Tailwind
colors: {
  custom: {
    50: '#5f4860',
    500: '#230526',
    950: '#000000',
  },
}
SCSS
$custom: #230526;
$custom-light: #5f4860;
$custom-dark: #000000;
JSON
{
  "hex": "#230526",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 294.545,
    "s": 76.744,
    "l": 8.431
  },
  "oklch": {
    "l": 0.1918,
    "c": 0.07289,
    "h": 324.1
  },
  "luminance": 0.00606
}

Semantic roles & 50–950 ramp

primary
#230526
secondary
#26681F
accent
#F33546
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040005
muted
#797779

Preview Lab

Preview with #230526

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

Preview Lab → · Contrast checker → · Palette generator →

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