#270634#270634

#270634 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.2% C 0.088 H 314.4°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#270634
RGBrgb(39, 6, 52)
HSLhsl(283, 79%, 11%)
HSVhsv(283, 88%, 20%)
CMYKcmyk(25%, 88.5%, 0%, 79.6%)
CIE-LABlab(7.31, 25.53, -22.31)
CIE-LCHlch(7.31, 33.91, 318.84°)
OKLaboklab(21.22% 0.0618 -0.0631)
OKLCHoklch(21.22% 0.088 314.4)
XYZxyz(1.5216, 0.8096, 3.3243)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270634 #133406
analogous
#100634 #270634 #34062A
triadic
#270634 #342706 #063427
tetradic
#270634 #341006 #133406 #062A34
square
#270634 #341006 #133406 #062A34
split-complementary
#270634 #2A3406 #063410
monochromatic
#15031B #15031B #270634 #500C6B #7913A2

Accessibility & contrast

On white

18.07
#270634 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270634
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270634#FFFFFF#000000##FFFFFF
##2706341.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001435
Deuteranopia (green-blind)
#041733
Tritanopia (blue-blind)
#26101C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #270634;
/* rgb */ color: rgb(39, 6, 52);
/* oklch */ color: oklch(21.2% 0.088 314.4);
Tailwind
colors: {
  custom: {
    50: '#63496c',
    500: '#270634',
    950: '#000000',
  },
}
SCSS
$custom: #270634;
$custom-light: #63496c;
$custom-dark: #000000;
JSON
{
  "hex": "#270634",
  "rgb": {
    "r": 39,
    "g": 6,
    "b": 52
  },
  "hsl": {
    "h": 283.043,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21224,
    "c": 0.08833,
    "h": 314.4
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#270634
secondary
#397421
accent
#F63269
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050107
muted
#7A777A

Preview Lab

Preview with #270634

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

Preview Lab → · Contrast checker → · Palette generator →

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