#270D43#270D43

#270D43 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.096 H 301.2°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#270D43
RGBrgb(39, 13, 67)
HSLhsl(269, 68%, 16%)
HSVhsv(269, 81%, 26%)
CMYKcmyk(41.8%, 80.6%, 0%, 73.7%)
CIE-LABlab(9.99, 25.87, -28.77)
CIE-LCHlch(9.99, 38.69, 311.97°)
OKLaboklab(23.56% 0.0498 -0.082)
OKLCHoklch(23.56% 0.096 301.2)
XYZxyz(1.9935, 1.1244, 5.4211)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D43 #29430D
analogous
#0D0E43 #270D43 #420D43
triadic
#270D43 #43270D #0D4327
tetradic
#270D43 #430D0E #29430D #0D4342
square
#270D43 #430D0E #29430D #0D4342
split-complementary
#270D43 #43420D #0E430D
monochromatic
#0F051A #0F051A #270D43 #451776 #6321AA

Accessibility & contrast

On white

17.15
#270D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#270D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D43
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D43#FFFFFF#000000##FFFFFF
##270D431.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#001B42
Tritanopia (blue-blind)
#211A27
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #270d43;
/* rgb */ color: rgb(39, 13, 67);
/* oklch */ color: oklch(23.6% 0.096 301.2);
Tailwind
colors: {
  custom: {
    50: '#644e78',
    500: '#270d43',
    950: '#000000',
  },
}
SCSS
$custom: #270d43;
$custom-light: #644e78;
$custom-dark: #000000;
JSON
{
  "hex": "#270d43",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 268.889,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23555,
    "c": 0.09595,
    "h": 301.2
  },
  "luminance": 0.01124
}

Semantic roles & 50–950 ramp

primary
#270D43
secondary
#577E2D
accent
#EA3D97
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #270D43

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

Preview Lab → · Contrast checker → · Palette generator →

#270D43 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva