#230E31#230E31

#230E31 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.069 H 309.5°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#230E31
RGBrgb(35, 14, 49)
HSLhsl(276, 56%, 12%)
HSVhsv(276, 71%, 19%)
CMYKcmyk(28.6%, 71.4%, 0%, 80.8%)
CIE-LABlab(8.07, 18.95, -18.93)
CIE-LCHlch(8.07, 26.79, 315.03°)
OKLaboklab(21.56% 0.0439 -0.0533)
OKLCHoklch(21.56% 0.069 309.5)
XYZxyz(1.4044, 0.8932, 3.0035)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E31 #1C310E
analogous
#110E31 #230E31 #310E2E
triadic
#230E31 #31230E #0E3123
tetradic
#230E31 #31110E #1C310E #0E2E31
square
#230E31 #31110E #1C310E #0E2E31
split-complementary
#230E31 #2E310E #0E3111
monochromatic
#110718 #110718 #230E31 #451C61 #672990

Accessibility & contrast

On white

17.82
#230E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230E31
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E31#FFFFFF#000000##FFFFFF
##230E311.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#0A1830
Tritanopia (blue-blind)
#21151D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230e31;
/* rgb */ color: rgb(35, 14, 49);
/* oklch */ color: oklch(21.6% 0.069 309.5);
Tailwind
colors: {
  custom: {
    50: '#5f4d69',
    500: '#230e31',
    950: '#000000',
  },
}
SCSS
$custom: #230e31;
$custom-light: #5f4d69;
$custom-dark: #000000;
JSON
{
  "hex": "#230e31",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21558,
    "c": 0.06905,
    "h": 309.5
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#230E31
secondary
#476C2F
accent
#DF4985
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230E31

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

Preview Lab → · Contrast checker → · Palette generator →

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