#270E5D#270E5D

#270E5D is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.4% C 0.128 H 288.7°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#270E5D
RGBrgb(39, 14, 93)
HSLhsl(259, 74%, 21%)
HSVhsv(259, 85%, 36%)
CMYKcmyk(58.1%, 84.9%, 0%, 63.5%)
CIE-LABlab(12.83, 33.19, -41.99)
CIE-LCHlch(12.83, 53.52, 308.33°)
OKLaboklab(26.37% 0.0409 -0.1208)
OKLCHoklch(26.37% 0.128 288.7)
XYZxyz(2.9689, 1.5356, 10.4938)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E5D #445D0E
analogous
#0E1C5D #270E5D #4E0E5D
triadic
#270E5D #5D270E #0E5D27
tetradic
#270E5D #5D0E1C #445D0E #0E5D4E
square
#270E5D #5D0E1C #445D0E #0E5D4E
split-complementary
#270E5D #5D4E0E #1C5D0E
monochromatic
#0B041B #110628 #270E5D #3D1692 #541EC7

Accessibility & contrast

On white

16.06
#270E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#270E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270E5D
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E5D#FFFFFF#000000##FFFFFF
##270E5D1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#112536
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #270e5d;
/* rgb */ color: rgb(39, 14, 93);
/* oklch */ color: oklch(26.4% 0.128 288.7);
Tailwind
colors: {
  custom: {
    50: '#69508c',
    500: '#270e5d',
    950: '#000000',
  },
}
SCSS
$custom: #270e5d;
$custom-light: #69508c;
$custom-dark: #000000;
JSON
{
  "hex": "#270e5d",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 258.987,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26365,
    "c": 0.12754,
    "h": 288.7
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#270E5D
secondary
#769730
accent
#F037B6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #270E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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