#270135#270135

#270135 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.6% C 0.099 H 314.8°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#270135
RGBrgb(39, 1, 53)
HSLhsl(284, 96%, 11%)
HSVhsv(284, 98%, 21%)
CMYKcmyk(26.4%, 98.1%, 0%, 79.2%)
CIE-LABlab(6.41, 28.52, -24.50)
CIE-LCHlch(6.41, 37.60, 319.34°)
OKLaboklab(20.56% 0.0694 -0.0699)
OKLCHoklch(20.56% 0.099 314.8)
XYZxyz(1.4900, 0.7101, 3.4261)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270135 #0F3501
analogous
#0D0135 #270135 #350129
triadic
#270135 #352701 #013527
tetradic
#270135 #350D01 #0F3501 #012935
square
#270135 #350D01 #0F3501 #012935
split-complementary
#270135 #293501 #01350D
monochromatic
#16011E #16011E #270135 #530271 #7F03AD

Accessibility & contrast

On white

18.39
#270135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270135
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270135#FFFFFF#000000##FFFFFF
##2701351.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001534
Tritanopia (blue-blind)
#260D1B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #270135;
/* rgb */ color: rgb(39, 1, 53);
/* oklch */ color: oklch(20.6% 0.099 314.8);
Tailwind
colors: {
  custom: {
    50: '#64476d',
    500: '#270135',
    950: '#000000',
  },
}
SCSS
$custom: #270135;
$custom-light: #64476d;
$custom-dark: #000000;
JSON
{
  "hex": "#270135",
  "rgb": {
    "r": 39,
    "g": 1,
    "b": 53
  },
  "hsl": {
    "h": 283.846,
    "s": 96.296,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20557,
    "c": 0.09852,
    "h": 314.8
  },
  "luminance": 0.0071
}

Semantic roles & 50–950 ramp

primary
#270135
secondary
#327A18
accent
#FF2962
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #270135

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

Preview Lab → · Contrast checker → · Palette generator →

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