#270635#270635

#270635 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.3% C 0.089 H 313.5°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#270635
RGBrgb(39, 6, 53)
HSLhsl(282, 80%, 12%)
HSVhsv(282, 89%, 21%)
CMYKcmyk(26.4%, 88.7%, 0%, 79.2%)
CIE-LABlab(7.40, 25.80, -22.91)
CIE-LCHlch(7.40, 34.50, 318.39°)
OKLaboklab(21.31% 0.0616 -0.0648)
OKLCHoklch(21.31% 0.089 313.5)
XYZxyz(1.5443, 0.8187, 3.4441)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270635 #143506
analogous
#100635 #270635 #35062C
triadic
#270635 #352706 #063527
tetradic
#270635 #351006 #143506 #062C35
square
#270635 #351006 #143506 #062C35
split-complementary
#270635 #2C3506 #063510
monochromatic
#14031B #14031B #270635 #4F0C6C #7812A3

Accessibility & contrast

On white

18.04
#270635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#270635 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270635
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270635#FFFFFF#000000##FFFFFF
##2706351.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#031734
Tritanopia (blue-blind)
#26101D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270635;
/* rgb */ color: rgb(39, 6, 53);
/* oklch */ color: oklch(21.3% 0.089 313.5);
Tailwind
colors: {
  custom: {
    50: '#63496c',
    500: '#270635',
    950: '#000000',
  },
}
SCSS
$custom: #270635;
$custom-light: #63496c;
$custom-dark: #000000;
JSON
{
  "hex": "#270635",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 53
  },
  "hsl": {
    "h": 282.128,
    "s": 79.661,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21313,
    "c": 0.08944,
    "h": 313.5
  },
  "luminance": 0.00819
}

Semantic roles & 50–950 ramp

primary
#270635
secondary
#3A7521
accent
#F6326C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270635

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

Preview Lab → · Contrast checker → · Palette generator →

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