#270123#270123

#270123 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.0% C 0.082 H 332.9°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#270123
RGBrgb(39, 1, 35)
HSLhsl(306, 95%, 8%)
HSVhsv(306, 97%, 15%)
CMYKcmyk(0%, 97.4%, 10.3%, 84.7%)
CIE-LABlab(5.19, 23.48, -12.86)
CIE-LCHlch(5.19, 26.77, 331.29°)
OKLaboklab(19.01% 0.073 -0.0374)
OKLCHoklch(19.01% 0.082 332.9)
XYZxyz(1.1509, 0.5745, 1.6401)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270123 #012705
analogous
#180127 #270123 #270110
triadic
#270123 #232701 #012327
tetradic
#270123 #271801 #012705 #011027
square
#270123 #271801 #012705 #011027
split-complementary
#270123 #102701 #012718
monochromatic
#1E011B #1E011B #270123 #630359 #9E048E

Accessibility & contrast

On white

18.84
#270123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270123
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270123#FFFFFF#000000##FFFFFF
##2701231.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E24
Deuteranopia (green-blind)
#0D1322
Tritanopia (blue-blind)
#290411
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #270123;
/* rgb */ color: rgb(39, 1, 35);
/* oklch */ color: oklch(19.0% 0.082 332.9);
Tailwind
colors: {
  custom: {
    50: '#62465e',
    500: '#270123',
    950: '#000000',
  },
}
SCSS
$custom: #270123;
$custom-light: #62465e;
$custom-dark: #000000;
JSON
{
  "hex": "#270123",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 306.316,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.19012,
    "c": 0.082,
    "h": 332.9
  },
  "luminance": 0.00574
}

Semantic roles & 50–950 ramp

primary
#270123
secondary
#166E1F
accent
#FF3F29
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050004
muted
#7A7779

Preview Lab

Preview with #270123

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

Preview Lab → · Contrast checker → · Palette generator →

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