#270E55#270E55

#270E55 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.118 H 291.8°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#270E55
RGBrgb(39, 14, 85)
HSLhsl(261, 72%, 19%)
HSVhsv(261, 84%, 33%)
CMYKcmyk(54.1%, 83.5%, 0%, 66.7%)
CIE-LABlab(11.97, 30.75, -38.01)
CIE-LCHlch(11.97, 48.89, 308.97°)
OKLaboklab(25.5% 0.0437 -0.1091)
OKLCHoklch(25.5% 0.118 291.8)
XYZxyz(2.6330, 1.4012, 8.7243)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E55 #3C550E
analogous
#0E1955 #270E55 #4B0E55
triadic
#270E55 #55270E #0E5527
tetradic
#270E55 #550E19 #3C550E #0E554B
square
#270E55 #550E19 #3C550E #0E554B
split-complementary
#270E55 #554B0E #19550E
monochromatic
#0C041A #0F0520 #270E55 #3F178A #571FBE

Accessibility & contrast

On white

16.40
#270E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#270E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E55
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E55#FFFFFF#000000##FFFFFF
##270E551.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#182231
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #270e55;
/* rgb */ color: rgb(39, 14, 85);
/* oklch */ color: oklch(25.5% 0.118 291.8);
Tailwind
colors: {
  custom: {
    50: '#675086',
    500: '#270e55',
    950: '#000000',
  },
}
SCSS
$custom: #270e55;
$custom-light: #675086;
$custom-dark: #000000;
JSON
{
  "hex": "#270e55",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 261.127,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25499,
    "c": 0.11757,
    "h": 291.8
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#270E55
secondary
#6E8F30
accent
#EE39AF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #270E55

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

Preview Lab → · Contrast checker → · Palette generator →

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