#270930#270930

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

Color values

HEX#270930
RGBrgb(39, 9, 48)
HSLhsl(286, 68%, 11%)
HSVhsv(286, 81%, 19%)
CMYKcmyk(18.7%, 81.3%, 0%, 81.2%)
CIE-LABlab(7.59, 22.83, -18.92)
CIE-LCHlch(7.59, 29.66, 320.35°)
OKLaboklab(21.33% 0.0579 -0.0531)
OKLCHoklch(21.33% 0.079 317.4)
XYZxyz(1.4678, 0.8402, 2.8806)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270930 #123009
analogous
#130930 #270930 #300925
triadic
#270930 #302709 #093027
tetradic
#270930 #301309 #123009 #092530
square
#270930 #301309 #123009 #092530
split-complementary
#270930 #253009 #093013
monochromatic
#15051A #15051A #270930 #511364 #7B1C97

Accessibility & contrast

On white

17.98
#270930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#270930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270930
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270930#FFFFFF#000000##FFFFFF
##2709301.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#0A182F
Tritanopia (blue-blind)
#27101B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #270930;
/* rgb */ color: rgb(39, 9, 48);
/* oklch */ color: oklch(21.3% 0.079 317.4);
Tailwind
colors: {
  custom: {
    50: '#634b68',
    500: '#270930',
    950: '#000000',
  },
}
SCSS
$custom: #270930;
$custom-light: #634b68;
$custom-dark: #000000;
JSON
{
  "hex": "#270930",
  "rgb": {
    "r": 39,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 286.154,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21326,
    "c": 0.07855,
    "h": 317.4
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#270930
secondary
#376E27
accent
#EB3D65
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050106
muted
#7A777A

Preview Lab

Preview with #270930

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

Preview Lab → · Contrast checker → · Palette generator →

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