#270134#270134

#270134 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.5% C 0.098 H 315.6°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#270134
RGBrgb(39, 1, 52)
HSLhsl(285, 96%, 10%)
HSVhsv(285, 98%, 20%)
CMYKcmyk(25%, 98.1%, 0%, 79.6%)
CIE-LABlab(6.33, 28.24, -23.89)
CIE-LCHlch(6.33, 36.99, 319.77°)
OKLaboklab(20.46% 0.0697 -0.0682)
OKLCHoklch(20.46% 0.098 315.6)
XYZxyz(1.4673, 0.7010, 3.3062)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270134 #0E3401
analogous
#0D0134 #270134 #340127
triadic
#270134 #342701 #013427
tetradic
#270134 #340D01 #0E3401 #012734
square
#270134 #340D01 #0E3401 #012734
split-complementary
#270134 #273401 #01340D
monochromatic
#17011E #17011E #270134 #540270 #8103AC

Accessibility & contrast

On white

18.42
#270134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#270134 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270134
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270134#FFFFFF#000000##FFFFFF
##2701341.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001235
Deuteranopia (green-blind)
#001533
Tritanopia (blue-blind)
#260C1B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #270134;
/* rgb */ color: rgb(39, 1, 52);
/* oklch */ color: oklch(20.5% 0.098 315.6);
Tailwind
colors: {
  custom: {
    50: '#64476c',
    500: '#270134',
    950: '#000000',
  },
}
SCSS
$custom: #270134;
$custom-light: #64476c;
$custom-dark: #000000;
JSON
{
  "hex": "#270134",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 52
  },
  "hsl": {
    "h": 284.706,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20461,
    "c": 0.09756,
    "h": 315.6
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#270134
secondary
#307918
accent
#FF295F
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #270134

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

Preview Lab → · Contrast checker → · Palette generator →

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