#270E50#270E50

#270E50 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.111 H 294.0°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#270E50
RGBrgb(39, 14, 80)
HSLhsl(263, 70%, 18%)
HSVhsv(263, 83%, 31%)
CMYKcmyk(51.2%, 82.5%, 0%, 68.6%)
CIE-LABlab(11.45, 29.22, -35.44)
CIE-LCHlch(11.45, 45.93, 309.51°)
OKLaboklab(24.98% 0.0453 -0.1016)
OKLCHoklch(24.98% 0.111 294)
XYZxyz(2.4413, 1.3245, 7.7149)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E50 #37500E
analogous
#0E1650 #270E50 #480E50
triadic
#270E50 #50270E #0E5027
tetradic
#270E50 #500E16 #37500E #0E5048
square
#270E50 #500E16 #37500E #0E5048
split-complementary
#270E50 #50480E #16500E
monochromatic
#0D051A #0E051C #270E50 #401784 #5A20B8

Accessibility & contrast

On white

16.60
#270E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270E50
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E50#FFFFFF#000000##FFFFFF
##270E501.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #270e50;
/* rgb */ color: rgb(39, 14, 80);
/* oklch */ color: oklch(25.0% 0.111 294.0);
Tailwind
colors: {
  custom: {
    50: '#664f82',
    500: '#270e50',
    950: '#000000',
  },
}
SCSS
$custom: #270e50;
$custom-light: #664f82;
$custom-dark: #000000;
JSON
{
  "hex": "#270e50",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 262.727,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24977,
    "c": 0.11124,
    "h": 294
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#270E50
secondary
#688B2F
accent
#ED3BAA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020A
muted
#7A787C

Preview Lab

Preview with #270E50

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

Preview Lab → · Contrast checker → · Palette generator →

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