#230127#230127

#230127 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.5% C 0.084 H 323.7°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#230127
RGBrgb(35, 1, 39)
HSLhsl(294, 95%, 8%)
HSVhsv(294, 97%, 15%)
CMYKcmyk(10.3%, 97.4%, 0%, 84.7%)
CIE-LABlab(4.75, 22.64, -16.68)
CIE-LCHlch(4.75, 28.12, 323.62°)
OKLaboklab(18.51% 0.0673 -0.0495)
OKLCHoklch(18.51% 0.084 323.7)
XYZxyz(1.0702, 0.5256, 1.9641)
Luminance0.0053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230127 #052701
analogous
#100127 #230127 #270118
triadic
#230127 #272301 #012723
tetradic
#230127 #271001 #052701 #011827
square
#230127 #271001 #052701 #011827
split-complementary
#230127 #182701 #012710
monochromatic
#1B011E #1B011E #230127 #590363 #8E049E

Accessibility & contrast

On white

19.00
#230127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#230127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230127
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230127#FFFFFF#000000##FFFFFF
##2301271.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230127;
/* rgb */ color: rgb(35, 1, 39);
/* oklch */ color: oklch(18.5% 0.084 323.7);
Tailwind
colors: {
  custom: {
    50: '#5f4661',
    500: '#230127',
    950: '#000000',
  },
}
SCSS
$custom: #230127;
$custom-light: #5f4661;
$custom-dark: #000000;
JSON
{
  "hex": "#230127",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 293.684,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18512,
    "c": 0.08355,
    "h": 323.7
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#230127
secondary
#1F6E16
accent
#FF293F
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#050005
muted
#797679

Preview Lab

Preview with #230127

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

Preview Lab → · Contrast checker → · Palette generator →

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