#270B3E#270B3E

#270B3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.092 H 305.1°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#270B3E
RGBrgb(39, 11, 62)
HSLhsl(273, 70%, 14%)
HSVhsv(273, 82%, 24%)
CMYKcmyk(37.1%, 82.3%, 0%, 75.7%)
CIE-LABlab(9.14, 25.52, -26.59)
CIE-LCHlch(9.14, 36.86, 313.83°)
OKLaboklab(22.81% 0.0532 -0.0756)
OKLCHoklch(22.81% 0.092 305.1)
XYZxyz(1.8257, 1.0185, 4.6569)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#270B3E #223E0B
analogous
#0E0B3E #270B3E #3E0B3C
triadic
#270B3E #3E270B #0B3E27
tetradic
#270B3E #3E0E0B #223E0B #0B3C3E
square
#270B3E #3E0E0B #223E0B #0B3C3E
split-complementary
#270B3E #3C3E0B #0B3E0E
monochromatic
#10051A #10051A #270B3E #481472 #681DA6

Accessibility & contrast

On white

17.45
#270B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#270B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #270B3E
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##270B3E#FFFFFF#000000##FFFFFF
##270B3E1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#231723
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #270b3e;
/* rgb */ color: rgb(39, 11, 62);
/* oklch */ color: oklch(22.8% 0.092 305.1);
Tailwind
colors: {
  custom: {
    50: '#644d74',
    500: '#270b3e',
    950: '#000000',
  },
}
SCSS
$custom: #270b3e;
$custom-light: #644d74;
$custom-dark: #000000;
JSON
{
  "hex": "#270b3e",
  "rgb": {
    "r": 39,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 272.941,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22814,
    "c": 0.09247,
    "h": 305.1
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#270B3E
secondary
#4E7B2A
accent
#ED3B8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #270B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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