#230F3A#230F3A

#230F3A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.080 H 301.7°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#230F3A
RGBrgb(35, 15, 58)
HSLhsl(268, 59%, 14%)
HSVhsv(268, 74%, 23%)
CMYKcmyk(39.7%, 74.1%, 0%, 77.3%)
CIE-LABlab(9.03, 20.99, -23.94)
CIE-LCHlch(9.03, 31.84, 311.25°)
OKLaboklab(22.49% 0.0419 -0.068)
OKLCHoklch(22.49% 0.08 301.7)
XYZxyz(1.6275, 1.0045, 4.1103)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F3A #263A0F
analogous
#0F113A #230F3A #390F3A
triadic
#230F3A #3A230F #0F3A23
tetradic
#230F3A #3A0F11 #263A0F #0F3A39
square
#230F3A #3A0F11 #263A0F #0F3A39
split-complementary
#230F3A #3A390F #113A0F
monochromatic
#0F0618 #0F0618 #230F3A #401C6B #5E289B

Accessibility & contrast

On white

17.49
#230F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#230F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F3A
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F3A#FFFFFF#000000##FFFFFF
##230F3A1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193B
Deuteranopia (green-blind)
#021939
Tritanopia (blue-blind)
#1E1822
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230f3a;
/* rgb */ color: rgb(35, 15, 58);
/* oklch */ color: oklch(22.5% 0.080 301.7);
Tailwind
colors: {
  custom: {
    50: '#604e70',
    500: '#230f3a',
    950: '#000000',
  },
}
SCSS
$custom: #230f3a;
$custom-light: #604e70;
$custom-dark: #000000;
JSON
{
  "hex": "#230f3a",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 267.907,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22486,
    "c": 0.07989,
    "h": 301.7
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#230F3A
secondary
#557430
accent
#E24699
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #230F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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