#270D50#270D50

#270D50 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.112 H 294.3°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#270D50
RGBrgb(39, 13, 80)
HSLhsl(263, 72%, 18%)
HSVhsv(263, 84%, 31%)
CMYKcmyk(51.2%, 83.7%, 0%, 68.6%)
CIE-LABlab(11.26, 29.74, -35.74)
CIE-LCHlch(11.26, 46.50, 309.77°)
OKLaboklab(24.85% 0.0462 -0.1025)
OKLCHoklch(24.85% 0.112 294.3)
XYZxyz(2.4282, 1.2983, 7.7105)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270D50 #36500D
analogous
#0D1450 #270D50 #480D50
triadic
#270D50 #50270D #0D5027
tetradic
#270D50 #500D14 #36500D #0D5048
square
#270D50 #500D14 #36500D #0D5048
split-complementary
#270D50 #50480D #14500D
monochromatic
#0D041A #0D041B #270D50 #411685 #5A1EB9

Accessibility & contrast

On white

16.67
#270D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#270D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270D50
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270D50#FFFFFF#000000##FFFFFF
##270D501.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001D4F
Tritanopia (blue-blind)
#1B1F2E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #270d50;
/* rgb */ color: rgb(39, 13, 80);
/* oklch */ color: oklch(24.8% 0.112 294.3);
Tailwind
colors: {
  custom: {
    50: '#664f82',
    500: '#270d50',
    950: '#000000',
  },
}
SCSS
$custom: #270d50;
$custom-light: #664f82;
$custom-dark: #000000;
JSON
{
  "hex": "#270d50",
  "rgb": {
    "r": 39,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 263.284,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24849,
    "c": 0.11242,
    "h": 294.3
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#270D50
secondary
#678B2E
accent
#EF39A8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #270D50

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

Preview Lab → · Contrast checker → · Palette generator →

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