#270E3F#270E3F

#270E3F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.089 H 303.5°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#270E3F
RGBrgb(39, 14, 63)
HSLhsl(271, 64%, 15%)
HSVhsv(271, 78%, 25%)
CMYKcmyk(38.1%, 77.8%, 0%, 75.3%)
CIE-LABlab(9.83, 24.13, -26.19)
CIE-LCHlch(9.83, 35.61, 312.66°)
OKLaboklab(23.33% 0.0493 -0.0744)
OKLCHoklch(23.33% 0.089 303.5)
XYZxyz(1.8907, 1.1043, 4.8152)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270E3F #263F0E
analogous
#0E0E3F #270E3F #3F0E3E
triadic
#270E3F #3F270E #0E3F27
tetradic
#270E3F #3F0E0E #263F0E #0E3E3F
square
#270E3F #3F0E0E #263F0E #0E3E3F
split-complementary
#270E3F #3E3F0E #0E3F0E
monochromatic
#0F0619 #0F0619 #270E3F #461971 #6524A3

Accessibility & contrast

On white

17.20
#270E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #270E3F
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270E3F#FFFFFF#000000##FFFFFF
##270E3F1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#221925
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #270e3f;
/* rgb */ color: rgb(39, 14, 63);
/* oklch */ color: oklch(23.3% 0.089 303.5);
Tailwind
colors: {
  custom: {
    50: '#644e74',
    500: '#270e3f',
    950: '#000000',
  },
}
SCSS
$custom: #270e3f;
$custom-light: #644e74;
$custom-dark: #000000;
JSON
{
  "hex": "#270e3f",
  "rgb": {
    "r": 39,
    "g": 14,
    "b": 63
  },
  "hsl": {
    "h": 270.612,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23331,
    "c": 0.08929,
    "h": 303.5
  },
  "luminance": 0.01104
}

Semantic roles & 50–950 ramp

primary
#270E3F
secondary
#547A2F
accent
#E74192
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #270E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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