#230E2F#230E2F

#230E2F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.4% C 0.066 H 311.4°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#230E2F
RGBrgb(35, 14, 47)
HSLhsl(278, 54%, 12%)
HSVhsv(278, 70%, 18%)
CMYKcmyk(25.5%, 70.2%, 0%, 81.6%)
CIE-LABlab(7.92, 18.38, -17.70)
CIE-LCHlch(7.92, 25.52, 316.09°)
OKLaboklab(21.4% 0.0439 -0.0497)
OKLCHoklch(21.4% 0.066 311.4)
XYZxyz(1.3632, 0.8767, 2.7862)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E2F #1A2F0E
analogous
#130E2F #230E2F #2F0E2B
triadic
#230E2F #2F230E #0E2F23
tetradic
#230E2F #2F130E #1A2F0E #0E2B2F
square
#230E2F #2F130E #1A2F0E #0E2B2F
split-complementary
#230E2F #2B2F0E #0E2F13
monochromatic
#120718 #120718 #230E2F #461C5E #692A8D

Accessibility & contrast

On white

17.87
#230E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E2F
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E2F#FFFFFF#000000##FFFFFF
##230E2F1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041630
Deuteranopia (green-blind)
#0B182E
Tritanopia (blue-blind)
#22141C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230e2f;
/* rgb */ color: rgb(35, 14, 47);
/* oklch */ color: oklch(21.4% 0.066 311.4);
Tailwind
colors: {
  custom: {
    50: '#5f4d67',
    500: '#230e2f',
    950: '#000000',
  },
}
SCSS
$custom: #230e2f;
$custom-light: #5f4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#230e2f",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 278.182,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.21402,
    "c": 0.06626,
    "h": 311.4
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#230E2F
secondary
#45692F
accent
#DD4A80
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230E2F

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

Preview Lab → · Contrast checker → · Palette generator →

#230E2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva