#230126#230126

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

Color values

HEX#230126
RGBrgb(35, 1, 38)
HSLhsl(295, 95%, 8%)
HSVhsv(295, 97%, 15%)
CMYKcmyk(7.9%, 97.4%, 0%, 85.1%)
CIE-LABlab(4.69, 22.32, -16.01)
CIE-LCHlch(4.69, 27.46, 324.36°)
OKLaboklab(18.43% 0.0675 -0.0476)
OKLCHoklch(18.43% 0.083 324.8)
XYZxyz(1.0538, 0.5190, 1.8780)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230126 #042601
analogous
#100126 #230126 #260116
triadic
#230126 #262301 #012623
tetradic
#230126 #261001 #042601 #011626
square
#230126 #261001 #042601 #011626
split-complementary
#230126 #162601 #012610
monochromatic
#1B011E #1B011E #230126 #5A0362 #91049D

Accessibility & contrast

On white

19.03
#230126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230126
19.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230126#FFFFFF#000000##FFFFFF
##2301261.0019.031.1019.03
#FFFFFF19.031.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D27
Deuteranopia (green-blind)
#071225
Tritanopia (blue-blind)
#240612
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #230126;
/* rgb */ color: rgb(35, 1, 38);
/* oklch */ color: oklch(18.4% 0.083 324.8);
Tailwind
colors: {
  custom: {
    50: '#5f4660',
    500: '#230126',
    950: '#000000',
  },
}
SCSS
$custom: #230126;
$custom-light: #5f4660;
$custom-dark: #000000;
JSON
{
  "hex": "#230126",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 295.135,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18426,
    "c": 0.08261,
    "h": 324.8
  },
  "luminance": 0.00519
}

Semantic roles & 50–950 ramp

primary
#230126
secondary
#1D6D16
accent
#FF293A
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#050005
muted
#797679

Preview Lab

Preview with #230126

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

Preview Lab → · Contrast checker → · Palette generator →

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