#230F34#230F34

#230F34 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.071 H 306.3°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#230F34
RGBrgb(35, 15, 52)
HSLhsl(272, 55%, 13%)
HSVhsv(272, 71%, 20%)
CMYKcmyk(32.7%, 71.2%, 0%, 79.6%)
CIE-LABlab(8.54, 19.18, -20.38)
CIE-LCHlch(8.54, 27.98, 313.27°)
OKLaboklab(21.98% 0.0423 -0.0575)
OKLCHoklch(21.98% 0.071 306.3)
XYZxyz(1.4837, 0.9469, 3.3528)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F34 #20340F
analogous
#100F34 #230F34 #340F32
triadic
#230F34 #34230F #0F3423
tetradic
#230F34 #34100F #20340F #0F3234
square
#230F34 #34100F #20340F #0F3234
split-complementary
#230F34 #32340F #0F3410
monochromatic
#100718 #100718 #230F34 #431D63 #632A93

Accessibility & contrast

On white

17.66
#230F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230F34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F34
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F34#FFFFFF#000000##FFFFFF
##230F341.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021835
Deuteranopia (green-blind)
#081933
Tritanopia (blue-blind)
#20161F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230f34;
/* rgb */ color: rgb(35, 15, 52);
/* oklch */ color: oklch(22.0% 0.071 306.3);
Tailwind
colors: {
  custom: {
    50: '#5f4e6c',
    500: '#230f34',
    950: '#000000',
  },
}
SCSS
$custom: #230f34;
$custom-light: #5f4e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#230f34",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 272.432,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21977,
    "c": 0.0714,
    "h": 306.3
  },
  "luminance": 0.00947
}

Semantic roles & 50–950 ramp

primary
#230F34
secondary
#4D6E31
accent
#DF498E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230F34

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

Preview Lab → · Contrast checker → · Palette generator →

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