#230B34#230B34

#230B34 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.078 H 308.0°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#230B34
RGBrgb(35, 11, 52)
HSLhsl(275, 65%, 12%)
HSVhsv(275, 79%, 20%)
CMYKcmyk(32.7%, 78.8%, 0%, 79.6%)
CIE-LABlab(7.63, 21.66, -21.84)
CIE-LCHlch(7.63, 30.76, 314.76°)
OKLaboklab(21.31% 0.0482 -0.0618)
OKLCHoklch(21.31% 0.078 308)
XYZxyz(1.4325, 0.8446, 3.3357)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B34 #1C340B
analogous
#0F0B34 #230B34 #340B31
triadic
#230B34 #34230B #0B3423
tetradic
#230B34 #340F0B #1C340B #0B3134
square
#230B34 #340F0B #1C340B #0B3134
split-complementary
#230B34 #31340B #0B340F
monochromatic
#110519 #110519 #230B34 #451667 #672099

Accessibility & contrast

On white

17.96
#230B34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230B34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B34
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B34#FFFFFF#000000##FFFFFF
##230B341.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#041733
Tritanopia (blue-blind)
#20141E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230b34;
/* rgb */ color: rgb(35, 11, 52);
/* oklch */ color: oklch(21.3% 0.078 308.0);
Tailwind
colors: {
  custom: {
    50: '#604c6c',
    500: '#230b34',
    950: '#000000',
  },
}
SCSS
$custom: #230b34;
$custom-light: #604c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#230b34",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 52
  },
  "hsl": {
    "h": 275.122,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21314,
    "c": 0.07842,
    "h": 308
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#230B34
secondary
#47712A
accent
#E84086
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230B34

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

Preview Lab → · Contrast checker → · Palette generator →

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