#230B35#230B35

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

Color values

HEX#230B35
RGBrgb(35, 11, 53)
HSLhsl(274, 66%, 13%)
HSVhsv(274, 79%, 21%)
CMYKcmyk(34%, 79.2%, 0%, 79.2%)
CIE-LABlab(7.71, 21.95, -22.44)
CIE-LCHlch(7.71, 31.39, 314.37°)
OKLaboklab(21.4% 0.0481 -0.0636)
OKLCHoklch(21.4% 0.08 307.1)
XYZxyz(1.4553, 0.8537, 3.4556)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B35 #1D350B
analogous
#0E0B35 #230B35 #350B32
triadic
#230B35 #35230B #0B3523
tetradic
#230B35 #350E0B #1D350B #0B3235
square
#230B35 #350E0B #1D350B #0B3235
split-complementary
#230B35 #32350B #0B350E
monochromatic
#110519 #110519 #230B35 #441668 #66209A

Accessibility & contrast

On white

17.94
#230B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230B35
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B35#FFFFFF#000000##FFFFFF
##230B351.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230b35;
/* rgb */ color: rgb(35, 11, 53);
/* oklch */ color: oklch(21.4% 0.080 307.1);
Tailwind
colors: {
  custom: {
    50: '#604c6c',
    500: '#230b35',
    950: '#000000',
  },
}
SCSS
$custom: #230b35;
$custom-light: #604c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#230b35",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 274.286,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21401,
    "c": 0.07974,
    "h": 307.1
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#230B35
secondary
#49722A
accent
#E93F88
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230B35

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

Preview Lab → · Contrast checker → · Palette generator →

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